Skip to content
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

feat(edit): change and save title #1167

Merged
merged 9 commits into from
Aug 28, 2023
Merged

feat(edit): change and save title #1167

merged 9 commits into from
Aug 28, 2023

Conversation

fredrbus
Copy link
Contributor

@fredrbus fredrbus commented Aug 21, 2023

Description

Made it possible to edit and save the name of a table. For tables without a name, this will default to "Tavla". Changes will not be saved to Firebase unless the "Save table"-button is clicked.

Before

Screenshot 2023-08-21 at 12 02 07

After

Screenshot 2023-08-21 at 12 03 35
Screenshot 2023-08-21 at 12 03 53

next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/Edit/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/Edit/reducer.ts Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@lindtvedtsebastian lindtvedtsebastian left a comment

Choose a reason for hiding this comment

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

Bytt til named export så er denne fin 🚀

next-tavla/src/Admin/scenarios/BoardTitle/index.tsx Outdated Show resolved Hide resolved
@fredrbus fredrbus merged commit cbe2497 into master Aug 28, 2023
4 checks passed
@fredrbus fredrbus deleted the endre_tavlenavn branch August 28, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants