Help forum
- localstoage vs variable
enginhear
5 18 hours ago
Hello , I have a repeated element based on a localstorage . It works perfectly : when the localstorage is updated with a new element , it updates on the page without refresh . But if I change the value of one of its setting it seems less responsive and I have to refresh the page to see it , even if it updated instantly in the localstorage . To check , I changed the repeat element to be base on a variable and the problem is resolved . I find this behavior surprising because updating the localstorage works in one case but not the other . To make things clearer here is a picture to illustrate . the localstorage contains "image _url " and "favorite " . if the user generates a new image , the localstorage is updated and the new image is shown on the page . But if I click on the icon to change "favorite " , it is updated in the localstorage but not on the page (or if I click one time the view changes , but if I click again it does not ) . So I am wondering : is there a difference between updating the localstorage and a variable ? Is this a normal behavior ? - Renaming divs
enginhear
5 18 hours ago
Hello , Is there any way to rename divs ? Should I simply rename the tag ? If so , I want to be sure it won 't cause any problem . It would be really useful to quickly find elements that are initially hidden - Why no classes on components?
Lasse
32 4 days ago
I often miss the classes section on components to be able to set conditional stylings . Are there any particular reason why they 're not available on components ? - Client access to Nordcraft - EDIT MODE
𝓜𝓪𝔁𝓲
4 5 days ago
Hey are there plans to support some editing mode for clients ? I ’m moving away from webflow due to performance and lack of customizability issues . (I need SSR for my Pages ) For our customers it is always pleasing that they have full access to their pages to (on the fly ) change some things . Obvious Problem : for each customer im inviting im paying 34 USD - AND they have access to viewing other client projects and can obviously completely destroy their website . A simple edit mode for just images & text would be highly appreciated . Solution 2 : If there would be an API access to the pages we could als build this by ourselves and integrate this into our backend . This would also solve these kind of issues . Is there anything planned on the long / mid run ? Would be definitely a huge + for Nordcraft in terms of broad awareness . (Ppl would get to know Nordcraft more because more end users would directly access Nordcraft and get a glimpse of the great product ) - not just devs . - Nordcraft Translations
𝓜𝓪𝔁𝓲
1 5 days ago
Hey y ’all has anyone build fully translatable pages in Nordcraft before ? I ’m NOT talking about duplicating or using a JSON as variable . I mean using an external API to get Key and Values for translation fields . What we tested : generate a unique hash based on the text and use this as identifier to send Strings to our backend via Custom Actions and get the translation JSON for each page SLUG on request and ServerSide rehash each text field to get the corresponding value from the JSON . PROBLEM : to get an unique & safe hash we have to scramble base62 strings and different ServerSide function nodes together . This uses (obviously a lot of calculation time ) on moderate sites we see a spike in response times from 60ms to almost 400 - 800 ms (without the external api request ) just calculating the individual hashes . Furthermore we have still problems translating inline elements such as <b > as we cannot inject the whole html element just text . Does anyone here have an idea how to solve this ? Alternative would be to manually tag each field and create translations manually . Then we could (sort of ) combine different translation keys together to an key group on our backend . Example : Is (this ist bold ) the right (this is again normal text ) way ? Translation Group xy : Key „Is “ , Key „the right “ , Key „way ? “ We then would use DEEPL API with context to translate these three parts . Any thoughts & help appreciated - new theme 2.0 ?
Bas Fenix
✅12 5 days ago
When I create a new project or open existing one i see this on themes page (see scrshot ) then when i click Migrate button it 's goes to empty theme page , only a Font can be set . this does not match the documentation scrshot . Also the link above migrate button is not linking to correct resource I get 404 ? Im a bit confsued now since on old project i clicked migrate but now I dont have styles to manage . pls advise ! - know if refreh_token exists in the frontend?
ssssadsadasd
11 6 days ago
whe I do "get http -only cookie - > refresh _token " I get back " { { cookies .refresh _token } } " in the frontend whether the refresh _token exists or not . how can I know from the frontend whether there is actually a refresh _token in the cookies or not ? thanks - Collaborate with two separate paid accounts?
codenitrr
7 14 days ago
Is there a way to collaborate on a private project with two separate paid accounts ? So , give someone with an account outside my organization access to one of my projects ? - I accidently deleted a page :(
Marko
✅16 14 days ago
Hiya ! I made the mistake of accidentally deleting a page I wasn ’t meant to . Since it wasn ’t on any other branches , I can ’t roll it back . It had quite a few hours of work in it , is there any way to retrieve it ? I ’m guessing probably not , but thought I ’d check . Definitely a good lesson learned on my end , haha . - typeit - chatbot text pagebreak on each response
Digital Sprint
1 16 days ago
Hey all , i 'm working on a basic chatbot template , and i 'm struggling with the response coming back without a pagebreak . Everytime the api responds , it pagebreaks in my chatbubble and then starts typing . I think it has something to do with the fact that I 've created a placeholder without text and then I have the typeit workflow kickoff to update this placeholder . Does anyone have any ideas of how I can solve this , or a better way to go about it . I feel like my current route is not the best approach . https://lime_roos_tarpals_prominent_lizard.toddle.site/ - Regex Replace
Ethan
✅14 20 days ago
Hi all , I 'm trying to figure out how to perform the following javascript using formulas this.value = this.value.replace(/[^0-9+]/g, '') But I can 't figure out what the correct method is , there is Matches and Replace All , but none of these achieve what I want without getting overly complex . I imagine I must be missing something . Any suggestions ? - Formulas vs custom actions
nathandh
1 22 days ago
Silly question probably , but watching the new Speed Run vids (which are awesome , great work @salma ) , and I ’m wondering : What ’s the difference between formulas and custom actions ? Seems like both are reusable logic bits , with or without custom JS . - Popup Menu Behavior
Ethan
✅15 23 days ago
Hi All , I am building a popup menu component and want to ensure that the menu is always in -bounds , and does not clip out of the screen . Most apps just work off putting it in the opposite side to whatever quadrant the menu is opened in , however I cannot think of how to do this using formula 's , or if there is a much cleaner solution I am missing . What would you guys suggest ? - Probably a skill issue (help needed 🙏)
Fog
24 23 days ago
I configured Nordbase on Cloudflare Workers using the GitHub example , just for learning and testing purposes . However , when I try to log in , the console shows the following error : handleAction . t s :437 Missing custom action @toddle /setHttpOnlyCookie The response from Supabase is 200 , but the login doesn ’t work and just keeps loading . Sign -up works fine — the account is created , but it seems like the user session gets lost . In the Nordcraft editor , everything works fine . Did I do something wrong ? I imagine it ’s something simple , but since I ’m still learning , I got lost . - Flex Display Issue
Digital Sprint
8 24 days ago
newbie here , I 'm creating a div with an image and text . when I set the parent div as flex : row . I get this issue where the text runs on . But the div block that I have for this text works fine on its own . What is causing this issue ?