Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Add submit banner to admin page for organizations #407

Merged
merged 1 commit into from
Nov 15, 2017

Conversation

adam-hart
Copy link
Contributor

@adam-hart adam-hart commented Nov 9, 2017

Pops up a basic banner on an Organization edit page's submit.

Bueno

No Bueno

@zendesk/volunteer
Fixes #402

padding: 8px 8px;
min-width: 200px;
font-size: 16px;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use some space underneath of it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added some padding in OrganizationEdit.css. Here's the new look

@roseleaf roseleaf changed the title Add submit banner Add submit banner to admin page for organizations Nov 9, 2017
const goodTitle = 'Success!'
const badTitle = 'Something went wrong!'

const formatBanner = (props) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should also optionally pass in the titles so they can be more specific to what succeeded or failed. Not a blocker though

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea. It's generally more flexible that way, too. I'll add it to the scrum board though, since I'd like to ship this ASAP.

@adam-hart adam-hart merged commit 5c374bf into master Nov 15, 2017
@adam-hart adam-hart deleted the ahart/add-banner branch November 15, 2017 21:46
craig-day pushed a commit that referenced this pull request Apr 15, 2022
Add submit banner to admin page for organizations
craig-day pushed a commit that referenced this pull request Apr 15, 2022
Add submit banner to admin page for organizations
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants