Skip to content

Conversation

@admdly
Copy link
Contributor

@admdly admdly commented May 11, 2025

Modernise JavaScript usage, enhance API interaction patterns, and clean up legacy code. Main theme is update API form handling in Twig templates, improve client-side scripting for payment adapters, and minor dependency and codebase improvement.

@admdly admdly changed the title Refector Javascript and related API functions Refactor Javascript and related API functions May 11, 2025
@admdly admdly self-assigned this May 11, 2025
@admdly admdly requested a review from Copilot May 12, 2025 00:49

This comment was marked as outdated.

@admdly admdly marked this pull request as ready for review May 12, 2025 01:56
@admdly admdly requested a review from Copilot May 12, 2025 02:19

This comment was marked as outdated.

This comment was marked as outdated.

@admdly admdly requested a review from Copilot May 12, 2025 05:26

This comment was marked as outdated.

@j-a-pope
Copy link
Contributor

@admdly Does this completelly close #907 ?

Copy link
Contributor

@j-a-pope j-a-pope left a comment

Choose a reason for hiding this comment

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

There are a huge amount of file changes in here. I have skimmed the 163 files (that was a slow moving scrollbar) and everything seems logical and nothing jumps out as potentially wrong.

Also nothing seemed obviously broken on a quick test install, so everything seems good to me, and if there are any issues then we should pick them up in the upcoming testing for new release.

Nicely done Adam :)

@j-a-pope
Copy link
Contributor

j-a-pope commented May 12, 2025

Noticed the change of case to Title Case in a lot of messages. Is that what we are standardising on?

I don't mind either way, but do want to make sure we move towards consistency in these.

@admdly
Copy link
Contributor Author

admdly commented May 12, 2025

@admdly Does this completelly close #907 ?

As far as I'm aware, yes. 🙂

@admdly
Copy link
Contributor Author

admdly commented May 12, 2025

Noticed the change of case to Title Case in a lot of messages. Is that what we are standardising on?

I don't mind either way, but do want to make sure we move towards consistency in these.

I support sticking with Title Case, as I believe it looks better and more professional.

I'm sure there's a ton of areas remaining to be updated for consistency though as I only updated things as I noticed it with this PR.

@admdly admdly linked an issue May 12, 2025 that may be closed by this pull request
48 tasks
@j-a-pope j-a-pope requested a review from jaapmarcus May 13, 2025 05:41

This comment was marked as outdated.

admdly and others added 5 commits October 31, 2025 08:23
Remove depreciated and unused JavaScript functions, replacing with `FOSSBilling.*` functions or vanilla JS where appropriate.
Update Javascript API wrapper to use HTML `data` attributes. Also move Javascript API functionality to API wrapper.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@admdly admdly requested a review from Copilot October 31, 2025 09:31

This comment was marked as outdated.

@admdly admdly marked this pull request as ready for review November 5, 2025 01:16
@admdly
Copy link
Contributor Author

admdly commented Nov 5, 2025

This is a fairly comprehensive PR, given the subject matter. I've done some testing, but can't promise to have touched everything in the same way as a pre-release review, though I remain available to fix anything unexpected promptly. 🙂

@admdly admdly requested a review from Copilot November 5, 2025 01:18

This comment was marked as outdated.

@admdly admdly requested a review from yagiz-dev November 5, 2025 01:34
@admdly admdly dismissed BelleNottelling’s stale review November 13, 2025 11:51

Substational changes made - new review requested.

@admdly admdly requested review from jaapmarcus and removed request for jaapmarcus November 13, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Getting rid of jQuery megaissue

3 participants