feat: user debug page dynamic updates #2839
Open
+97
−55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Description
Update user debug page to:
Review Notes
Open a template that users dynamic data with user debug page sidebar, e.g.
Author Notes
The dynamic data table will only show the list of tables where data has been set, hence at the start of the demo video only a single table is available.
When updating values the user debug table should reflect the updated values, showing in darker text the values that have been pulled from dynamic data vs default values. In cases where the dynamic data is updated to the same value as the default data, the text still appears darker as the update still exists in the database (would be quite a bit of added effort to always cross-check updated data against original, and more simple to just track all state changes instead)
Dev Notes
The debug page code has been refactored to make more use of signals to handle live data updating. Given the amount of code related just to the dynamic data table it might be better split into a separate component, but kept as-is for now in case useful to see the git diffs during review
I decided to add this PR independent to the work on the authored table component as that would require quite a bit of additional follow-up to accept the input data rows from the dynamic data subscription as well as custom row styling
Git Issues
Closes #2825
Closes #2826
Screenshots/Videos
Example - feat_data_actions template with user sidebar updating
Screenity.video.-.Mar.10.2025.mp4