shoomow
Explore posts from serversUsing invisible `drawer`
Hey all.
I'm trying to refactor an app to not have
drawer
inside list
component, and to set up a single invisible drawer outside of the list component, and use a lightweight button to open and close it.
Now, opening the drawer with button is simple enough - but how, inside the drawer
, do I reference data of the particular list item which button I clicked?
Say, the list has id= a
, it contains text component (b
) and button ( c
), and drawer has id= d
. Drawer contains a text component e
that is supposed to show value of a.result.selectedRow.b.result
or something like that, but I can't figure it out. Please help.16 replies
Problems connecting GitHub repository
Recently I noticed that autodeployment trigger I set up for my project is not working, i.e. the service was not being re-deployed on pushing updated code to the selected branch. Trying to fix it, I decided to reset the GitHub connection. Now, when trying to connect pod to a repo, no repos are found, even though the GitHub connection seems to be fine.
When clicking on "Configure Github app", I'm redirected to Github page, authorize successfully, save settings without changing anything (since settings are alright), and this flow seems to finish successfully. But still: no repo can be found.
How do I fix?
10 replies
Environment variable issue with secondary environment
Hello. I'm trying to separate the environments on my project, and seems like I'm having an issue with variables. I'm using Doppler for secret injection, and this requires presence of the
DOPPLER_TOKEN
variable in Railway. Before I branched off the new environment (development
), I had this variable set for production
and all was working just fine. Then I created the development
, and added the variable from prod copying the value, which was pointing to Doppler's prod environment. After this the production service launched fine same as before, but the development (with the same token) crashed with Doppler Error: you must provide a token
I created 2 new tokens - one for prod and one for dev, and put them in corresponding places in Railway. Sadly, no change - still crashing with the same error. Given that the token is actually there, it doesn't seem like a Doppler issue to me. Could be wrong, though.
Please, help.12 replies