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

Improve project edit form #774

Merged
merged 3 commits into from Jul 8, 2021
Merged

Improve project edit form #774

merged 3 commits into from Jul 8, 2021

Conversation

zorun
Copy link
Collaborator

@zorun zorun commented Jul 4, 2021

Currently, the private code is mandatory in the edit form, and it's not clear whether it's meant to check for the right private code or to change the private code.

Make the field optional and rename the help message to make it clearer it's only meant to change the private code.

Also change the field type to "password" instead of simple string, and refactor some code to clarify.

@zorun zorun requested a review from Glandos July 4, 2021 11:34
@zorun zorun mentioned this pull request Jul 4, 2021
@zorun
Copy link
Collaborator Author

zorun commented Jul 4, 2021

@Glandos while reviewing #661, I took the opportunity to clarify the form code, and I also remembered this minor UI issue. Please review when you have time :)

Copy link
Member

@Glandos Glandos left a comment

Choose a reason for hiding this comment

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

Only one "minor" issue ;)

ihatemoney/forms.py Outdated Show resolved Hide resolved
Baptiste Jonglez added 3 commits July 7, 2021 01:01
The save() function is used to create a new project, so it belongs to the
form creation class.

Also clarify overriden form fields.
Currently, the private code is mandatory in the edit form, and it's not
clear whether it's meant to **check** for the right private code or to
**change** the private code.

Make the field optional and rename the help message to make it clearer
it's only meant to **change** the private code.

Also change the field type to "password" instead of simple string.
@zorun zorun merged commit 42dd2d6 into master Jul 8, 2021
@zorun zorun deleted the improve_edit_form branch July 8, 2021 23:20
zorun pushed a commit that referenced this pull request Jul 8, 2021
TomRoussel pushed a commit to TomRoussel/ihatemoney that referenced this pull request Mar 2, 2024
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.

None yet

2 participants