Skip to content

Cleanup tabs.js and "submissions/summary"#4511

Merged
frjo merged 3 commits intomainfrom
cleanup-tabjs
Apr 21, 2025
Merged

Cleanup tabs.js and "submissions/summary"#4511
frjo merged 3 commits intomainfrom
cleanup-tabjs

Conversation

@theskumar
Copy link
Copy Markdown
Member

  • Remove unused tabs.js and page at submissions/summary page (non-functional)
  • There are some HTML wrapping updates to make the code readable and git diff friendly.

- Remove unused tab.js and page at submissions/summary
- There are some html wrapping updates to make the code readible and
  git diff friendly
@theskumar theskumar requested a review from frjo April 19, 2025 15:21
Comment on lines +91 to +108
x-data="{
closeArchiveOutside(e){
if (e.currentTarget == e.target){
$refs.dialogArchive.close()
}
},
closeReminderOutside(e){
if (e.currentTarget == e.target){
$refs.dialogReminder.close()
}
},
closeMetaTermsOutside(e){
if (e.currentTarget == e.target){
$refs.dialogMetaTerms.close()
}
}
}"
{# fmt:on #}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@frjo doesn't look like this used anywhere, maybe it was not cleaned during htmx upgrade? Can you confirm this can be removed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@theskumar No, this (x-data part) is no longer in use and can be removed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

Comment on lines +91 to +108
x-data="{
closeArchiveOutside(e){
if (e.currentTarget == e.target){
$refs.dialogArchive.close()
}
},
closeReminderOutside(e){
if (e.currentTarget == e.target){
$refs.dialogReminder.close()
}
},
closeMetaTermsOutside(e){
if (e.currentTarget == e.target){
$refs.dialogMetaTerms.close()
}
}
}"
{# fmt:on #}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@theskumar No, this (x-data part) is no longer in use and can be removed.

@frjo
Copy link
Copy Markdown
Member

frjo commented Apr 21, 2025

Nice cleanup, forgot that we no longer have tabs in the old sense.

Just remove the x-data left over code and we can merge this in.

@theskumar
Copy link
Copy Markdown
Member Author

@frjo should be good to merge after we have the blessings from our CI god!

@frjo frjo merged commit fa5cc7b into main Apr 21, 2025
7 checks passed
@frjo frjo added Type: Maintenance Type: Patch Mini change, used in release drafter labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Type: Patch Mini change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants