Commit graph

1325 commits

Author SHA1 Message Date
422f1b7818 Add functionality to PartyFooter buttons
The "Edit info" and "Remix" buttons now have their proper functionality in PartyFooter, matching how they behave in PartyHeader
2023-07-02 02:33:18 -07:00
f14e90acfc Update Party component
* Moves tab state management to the parent to prevent flickering and re-rendering
* Fixes local ID saving so that unauth users can make parties again
* Fixes the saving and display of numeric values (button count, chain count, turn count)
2023-07-02 02:32:35 -07:00
7db02886fa Update EditPartyModal
* Directly adds shadow code from DialogHeader since this dialog behaves slightly differently. In the future, we'd like to reconcile this so that the code only appears once
* Changes rendering functions to be properties
* Add DialogHeader and DialogFooter
* Implement Textarea component instead of raw textarea
* Removed unused code
2023-07-02 02:30:59 -07:00
d194b54836 Remove unused code 2023-07-02 02:27:47 -07:00
33d0d9f6e4 Fix visual bugs in GridRep
* Fixes the mainhand height not always being full height when the container was being responsively resized
* Adjusts the color of empty grid rectangles for dark and light mode and when being hovered over
2023-07-02 02:27:34 -07:00
83d7d6df15 Update FilterModal
* Adds a notice alerting users that filters on profiles and the saved page do not persist
* Exposes `persistFilters` prop that will be passed to FilterBar and used to determine if the notice should be displayed
* Autofocuses the first select on the page
2023-07-02 02:26:09 -07:00
01b51f2829 Update FilterModal
* Fixes spacing of interactive elements in FilterBar so they don't stretch according to content anymore
* Adds new `persistFilters` prop that determines whether the FilterBar should persist any filters to the user's cookies
* Uses defaultFilterset prop to populate the default filter set instead of importing the actual "default filter set" and using it directly
2023-07-02 02:24:59 -07:00
48d451d136 Update ErrorSection styles 2023-07-02 02:23:32 -07:00
b8b3f2fffb Fix placeholder text and formatting
This fixes Textarea's placeholder text to be consistent with Input, as well as allows us to use new lines in the placeholder
2023-07-02 02:23:23 -07:00
3a684abf57 Fixes bug with SliderTablefield control
This fixes a bug where the SliderTableField's slider was not changing the input's value.

We essentially let the parent component control the value so the component is only ever reading from props, instead of using its stored state as a display.
2023-07-02 02:23:00 -07:00
f9a8d1db5c Passes along the autoFocus prop to Select
This passes along the autoFocus prop to the root Select component, and exposes it in SelectTableField
2023-07-02 02:21:31 -07:00
730bf0eac5 Hide text overflow in trigger
The Popover trigger (specifically for RaidCombobox) would stretch or break lines when given a long value. This makes it so that the text will always stay on one line and hide its overflow with an ellipsis if necessary
2023-07-02 02:20:43 -07:00
9f890ae253 Update Input
* Add fieldsetClasses prop
* Fallback to an empty string if value is undefined
* Fix focus ring to be consistent with our other custom focus rings
* Fix placeholder color
2023-07-02 02:19:47 -07:00
e8d1da58d5 Update DurationInput and remove old classes 2023-07-02 02:18:46 -07:00
d57b0fed23 Give visual focus state to close button 2023-07-02 02:18:06 -07:00
619eff2ad7 Revert Command changes
This seems to rely on these specific styles and it works, so we'll leave it alone for now.
2023-07-02 02:17:51 -07:00
9dd3260761 Update DialogContent
* Shrunk max-height to 60vh, and remove it for search
* Added an explicit width, as using min/max-width interferes with the contentEditable div in EditPartyModal
* Added custom styles for EditPartyModal
* Removed unused styles
2023-07-02 02:07:55 -07:00
0801693218 Use CSS modules with Command
We don't really use all of these exports, but we made it so that className gets passed properly to `styles` when we do
2023-07-02 02:06:15 -07:00
a6026cc592 Add custom styles for remixed pill
This pill displays when a party is a remix. We shrunk it so it wasn't quite the size of a normal small button, and then added disabled states for if the original party was deleted
2023-07-02 02:05:42 -07:00
d38bbaef44 Add lodash.isequal
We didn't end up using it but it might come in handy in the future
2023-07-02 02:04:50 -07:00
da2d0cfc8e Remove unused code
Dependencies and components that were no longer used
2023-07-02 02:04:30 -07:00
10c1e0332e Update localizations 2023-07-02 01:54:52 -07:00
db9193531c Add prop for destructive dropdown menu items 2023-06-30 23:04:51 -07:00
ab702edb4b Don't show <img> when there is no icon 2023-06-30 23:04:36 -07:00
ab6897c205 Update globals.scss 2023-06-30 22:56:40 -07:00
43d5faeead Update themes and variables 2023-06-30 22:53:56 -07:00
1aebea8ba3 Add small-tablet breakpoint 2023-06-30 22:53:37 -07:00
4401756277 Update PartyHeader and fix behavior
* Send true to editable prop is party is editable
* Fix turn count token display
* Fix party name style
* Add custom classes to various Buttons
* Only show PartyDropdown if a party is new
* Determine which buttons to show based on editable prop, not snapshot
* Remove unused code from Header
* Make new button route shallowly
2023-06-30 22:53:17 -07:00
c9cfb45b57 Update proficiency typing 2023-06-30 22:25:58 -07:00
a991011115 Add custom Button styles 2023-06-30 22:25:47 -07:00
5f3b1dadce Remove unused style import 2023-06-30 22:25:36 -07:00
c8fccc9a13 Update Segment styles
Notably, there's a nice transition now
2023-06-30 22:25:26 -07:00
3fbd4aac69 Update SegmentedControl
* Forward refs to SegmentedControl
* Allow passing of className via props
* Specific styles for RaidCombobox and something else
* Use small-tablet breakpoint
2023-06-30 22:25:09 -07:00
938b17e5e9 Update GridRep
* Remove link to user's profile—it was very distracting
* Increase mainhand max height so it doesn't appear too small when reps are larger
2023-06-30 22:24:04 -07:00
a4dbcebf0b Update SelectGroup styles 2023-06-30 22:23:21 -07:00
f89cdcdddd Center text on triggers on small screen sizes 2023-06-30 22:23:12 -07:00
a3a205fb5d Update Input and InputTableField
* Added error and label to input, in a fieldset
* Updated prop labels in InputTableField
2023-06-30 22:22:54 -07:00
198f5c79cd Use small-tablet breakpoint for party reps 2023-06-30 22:22:12 -07:00
e17606a1ca Update ExtraSummons to ExtraSummonsGrid 2023-06-30 22:21:46 -07:00
e3d4e742fe Update UncapIndicator display styles 2023-06-30 22:21:31 -07:00
0653e62024 Update button prop labels 2023-06-30 22:21:16 -07:00
2105e21cf8 Update localizations 2023-06-30 22:21:01 -07:00
316785614b Update FilterBar location and more
* Updates FilterBar import location
* Extracts user info into UserInfo component
2023-06-30 22:20:50 -07:00
d09d53fba9 Increase visibility of segmented control on static page 2023-06-30 22:20:16 -07:00
6683a2571b Update auth components
Just moving import order and changing an unused class name
2023-06-30 22:19:51 -07:00
a70a8e4a30 Update button prop labels 2023-06-30 22:19:14 -07:00
4f1bcf5bca Updated WeaponLabelIcon styles 2023-06-30 22:18:25 -07:00
e35879d03c Add extra colors to WeaponUnit 2023-06-30 22:18:10 -07:00
4f6925b824 Fix placeholders in SummonUnit 2023-06-30 22:17:56 -07:00
bb81a54055 Added new Textarea component
This is a content editable div to prepare for when we add tagging and formatting
2023-06-30 22:17:34 -07:00