-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin UI: Improvements to Update workflow #2871
Admin UI: Improvements to Update workflow #2871
Conversation
🦋 Changeset is good to goLatest commit: 12ddf55 We got this. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -383,7 +383,7 @@ const ActionItems = ({ mouseIsOverNav }) => { | |||
...(ENABLE_DEV_FEATURES | |||
? [ | |||
{ | |||
label: 'GraphiQL Playground', | |||
label: 'GraphQL Playground', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated, I just learned that GraphiQL =/= GraphQL Playground.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¯_(ツ)_/¯ OK
const { onDeleteMany, onUpdateMany, selectedItems } = props; | ||
const [deleteModalIsVisible, setDeleteModal] = useState(false); | ||
const [updateModalIsVisible, setUpdateModal] = useState(false); | ||
const SelectedCount = styled.div` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we change to template functions here? We use object notation throughout most of the codebase. I'd rather be consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no consistent usage of styled
object notation vs template literals. Lot of both. I've been gradually switching to the latter as I've come across it. Haven't touched the function-based ones since I only yesterday realized that they can return a template literal too 😬
I still like the idea of keeping the I'm inclined to move forward with this for now |
UpdateManyModal
to a functional component. DroppedUpdateManyModalWithMutation
in the process.ListManage
a bit