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

Fix/ Invitation revisions page - edit to remove process function is not displayed correctly #2103

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xkopenreview
Copy link
Collaborator

@xkopenreview xkopenreview commented Sep 19, 2024

requires some discussion about removing process/web from invitation and group

discussed with Carlos
for now the way to delete webfield/process function is to pass space

@@ -23,7 +23,7 @@ const GroupUICode = ({ group, profileId, accessToken, reloadGroup }) => {
const requestBody = {
group: {
id: group.id,
web: modifiedWebCode.trim() ? modifiedWebCode.trim() : null,
web: modifiedWebCode,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not to convert space to empty string because empty string is not allowed
to make it consistent with invitation editor

@xkopenreview xkopenreview marked this pull request as ready for review September 26, 2024 19:15
Copy link
Member

@carlosmondra carlosmondra left a comment

Choose a reason for hiding this comment

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

In the future, we need to figure out a way to pass { delete: true } from the UI.

Copy link
Member

@enrubio enrubio left a comment

Choose a reason for hiding this comment

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

I tested this and it does work. Should we also show (empty) when the preprocess is removed? It just shows blank right now:

Screenshot 2024-10-15 at 2 49 42 PM

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.

Invitation revisions page - edit to remove process function is not displayed correctly
3 participants