mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update button style logic in Confirming page based on selection state
- Modified the button style in the Confirming page to dynamically switch between "Primary" and "Neutral" based on whether all items are selected, enhancing visual feedback for users. This change aims to improve user experience by providing clearer indications of the current selection state.
This commit is contained in:
parent
cd87c63a89
commit
b8bd92d665
2 changed files with 1 additions and 4 deletions
3
TODO.txt
3
TODO.txt
|
|
@ -342,6 +342,3 @@ I notice we actually use the git cli in a lot of places. is there a git library
|
|||
[auto select studio/atlas]
|
||||
when things get added AFTER the fact because we send the git history hashes on connect rather than continiously, it auto-selects Studio for things that are being edited in real-time in the sync dialog
|
||||
how should we handle new files? because it could have been that someone just deleted it in studio. we can actually check if its a truly new file in Studio, like A but not staged!
|
||||
|
||||
[merge visualizer]
|
||||
we should make the outline green or something to show when everything is ready to go. maybe the accept button
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ function ConfirmingPage:render()
|
|||
|
||||
Accept = e(TextButton, {
|
||||
text = if hasChanges then "Accept" else "OK",
|
||||
style = "Primary",
|
||||
style = if allSelected then "Primary" else "Neutral",
|
||||
transparency = self.props.transparency,
|
||||
layoutOrder = 2,
|
||||
onClick = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue