Help forum
- Unflatten Array
Ethan
✅11 2 months ago
Hi all , I 'm trying to unflatten a 1D array into a 2D array in a formula . Inputs would be a 1D array and a chunk size . An example of what I need to do is below : [ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ] = > [ [1 , 2 , 3 ] , [4 , 5 , 6 ] , [7 , 8 ] ] - Central design system for multiple Nordcraft sites – best practices sought
Luca Heck
2 2 months ago
I 'm currently working on a project where I 'm stuck : We usually build two Nordcraft sites – a main site and a CMS on a subdomain , which we use to manage the content of the main site . However , this means that we have to maintain two design systems in parallel . Is there a best practice for setting up a central design system that both sites can access ? My first idea was to create a separate package , but that would basically be available to everyone in the store . Have you ever had a situation like this and can you give me some tips ? Thx ! - i need help recovering names

nico
5 2 months ago
hello , I have a problem . I want to retrieve names using IDs , but I can 't seem to do it . I have an array of objects of the type [ {id , name } , {id , name } ] and I 'm using a select component from the shoelace library , which returns an array of IDs [ “id ” , “id ” ] . What I want to achieve is that after selecting the items , I can retrieve the names to display them correctly in the component value . I understand that it may not be very complicated , but I just can 't figure it out 😿 - Setting Font for <select> has no Effect
Ethan
✅12 2 months ago
Hi all , I have created a generic <select > component for my app , But when I set the font for any of its components , there is no effect , it just defaults to (I think ) Times New Roman . This occurs both when previewing and in the font preview panel of the editor . - Custom domain
Vizualinx
1 2 months ago
I already added my custom domain records , but it 's still pending after 12 hours ! Any idea what 's going on ? - get user ip address

ssssadsadasd
8 2 months ago
I want to use [this api ] ( https://ip-api.com/docs/api:json ) , to get user 's ip address (I need the country ) . for that I need to disable "proxy request " in NC otherwise it gets the cloudflare country . however , if I disable it shows an error . how to solve this ? thanks - How to set multiple values at the same time?
unicodes
6 2 months ago
I the screen I set only availability , but in case of multiple keys how to avoid having N set ? - Why a div child forces the parent to grow and ignore flex 1?
unicodes
5 2 months ago
I have a parent div called main , which contains two children : c1 and c2 . -c1 has a fixed width of 200px . -c2 is set to flex : 1 and also has width : 100 % . Inside c2 , there is another child element . When this child becomes visible , it forces c2 to grow , ignoring the flex : 1 behavior . If I add overflow : hidden to c2 , everything works as expected . Without it , c2 doesn ’t respect the flex : 1 . Do you know why this happens ? - Create a Modal for a Form
Ethan
✅12 2 months ago
Hi all , I 'm trying to create a modal component that can contain my forms etc , so that on a click of a button , the form is revealed . I want the modal to be centered and I would like to create some sort of effect , so that the background content is blurred /darkened when the modal is open . I initially tried with a <dialog > component , but got stuck as I could not get it to "float " above the rest of the page . I did try the advice in https://discord.com/channels/972416966683926538/1209567011554721853/1209567011554721853 but still had no luck . - Same login across multiple domains/projects
Vizualinx
3 2 months ago
If I have for example my main app on app .mydomain .com , and my admin page on admin .mydomain .com and for example my landing page on mydomain .com , everything as a separate project in nordcraft . How can I have with supabase one time login that would keep me logged in through all domains /projects ? Maybe have the main login on auth .mydomain .com - Update the value of a specific attribute from an object stored in the cache
Jehex
0 2 months ago
Hi there , Im currently store an object into the local storage for each of my " influencers " who contain some of their infos and allow me to load way faster some pages . The name use for store theses datas are currently "conversation _ {name } " ( concatenation ) so I basically have objects stored into my local cache under this form "conversation _emilie " "conversation _kelly " "conversation {name } stored in the cache ) lets said I want to attribute "number {name } , thanks a lot - Watch new message in gmail
Matthieu B.
4 2 months ago
- Global css rules
Kai
5 2 months ago
Hi ! Can I create a CSS file and include it so that it globally defines , for example , all h tags in my pages ? - Image/video dimensions (width/height/aspect ration)

ssssadsadasd
19 2 months ago
I need to save the image /video dimensions (width /height /aspect ration ) in the database . so I use the input element in NC , upload the image /video , and before saving to database I need to fetch the image /video dimensions . has anyone implemented this before ? I tried with AI but was not successful . thanks - Keep scrolling position while other things are added on top of it.

ssssadsadasd
17 2 months ago
Suppose I have three divs : parent tweets , tweet , children tweets . I come to the page and all tweets are fetched and I scroll to tweet immediately . However , parent tweets have some videos that take some time to load and when they are loaded the height of the parent tweets changes pushing down the postion where I initially scrolled (tweet ) . what I want to achieve is sth [like this ] ( https://vimeo.com/1110966785?share=copy#t=0 ) , where somehow the parent tweets do not push the other divs down but are added on top of them without changing the scrolling positions . I created a [sample page ] ( https://editor.nordcraft.com/projects/seno12/branches/start/components/test-scrolling?canvas-width=800&canvas-height=1202.3&selection=onLoad.actions.2.events.tick&rightpanel=style ) to illustrate it . I would not prefer to solve this using placeholders with a determinate height or getting the height of the video beforehand somehow as this seems too complicated and needs some database additions . and the example in the video seems to not use this anyway anyone has any idea how to solve this in nordcraft ? thanks
