-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
Interesting. We already have an |
I don't understand how the edit form is wired. |
We're using global vars and |
We're probably using FormData to account for the file upload. |
c5413d2
to
03b264f
Compare
Ready for review, @mattbk @nobodxbodon et al. |
Closing my own or another project as admin:
|
Will make clean env and try again. |
But if I refresh, it says "already closed." |
That suggests that you needed to |
Okay, so the close succeeded and the |
Clicking "close" gave me the error, but the close succeeded. Getting back up to speed. |
Looks good from here! |
Closed project is still listed on and accessible from ~user's profile. |
raise Response(403, _("You are not authorized to access this page.")) | ||
|
||
if team.is_closed: | ||
raise Response(403, _("Already closed.")) |
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.
How about disable "close" button instead?
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.
I think this was quicker to put together. We can enhance (add project reopening?) once the basic functionality is there.
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.
Sounds good. BTW after your latest commit (hide closed team), in theory user should not reach here, as they won't see the already closed teams?
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.
If you try to close again by URL for some reason, you would get this error. All my latest commit did was hide the link to the project from the project owner's profile.
I hope to check through this again tonight and try to fix anything I find. |
Fixxored in 6b191f0 I like it! |
Better match what we've already got.
f2afb0e
to
36948c0
Compare
I added 36948c0 to improve (and test) our behavior around listing projects on owner profiles. How does that look, @mattbk @nobodxbodon? Are we ready to merge? |
Good to me. |
You good, @nobodxbodon? |
If it makes you feel better, @whit537's commit overwrote mine 😉. |
It improved on yours. :-P @mattbk The merge is yours, I think. |
So is the delete branch? 👁️ |
😝 |
See #3602.
is_closed
clear payment instructions (right?)Wrong. Leave the data for now.clear takes (right?)Wrong. Leave the data for now.are we showing 404?No: 410.can you reopen a team?No.are we freeing up the name somehow?No, not now.