Just wanted to know, is this like a separate standalone page or do you want to make it into a Gadget (like Twinkle)? If it’s standalone you can use Vue or React or any other front end framework, but if you want to make it as a Gadget you’re going to have to do a bit more work to make it work. Especially if you want to be like Twinkle and add extra buttons to the existing UI.
On Thu, Aug 8, 2024 at 1:14 PM Travis Briggs <audiod...@gmail.com> wrote: > Vue.js is definitely a good option. I already had a lot of JavaScript > experience, but I learned Vue at someone's recommendation for a wikimedia > project and it was a great experience. > > One quick tip that might help you: in the "old world" you might use jQuery > or something to do AJAX requests (XHR). However, in modern browsers, the > built-in `fetch` function is more than adequate for almost everything. > > Also, I would highly recommend using create-vue to bootstrap your project, > because it sets up all the complicated JavaScript "compilation" steps for > you, and gives you commands so that you can just do "npm run build" and get > a static site in a single directory. > > Good luck! > -Travis > > On Thu, Aug 8, 2024 at 8:36 AM Kimmo Virtanen <kimmo.virta...@gmail.com> > wrote: > >> Hi, >> >> Vue.js is afaik current choice. >> - https://www.mediawiki.org/wiki/Vue.js >> >> -- Kimmo >> >> On Thu, Aug 8, 2024 at 6:34 PM Roy Smith <r...@panix.com> wrote: >> >>> I'm about to embark on building a client-side javascript tool intended >>> to help with enwiki's [[WP:DYK]] process. JS is not my strength (and what >>> I do know about tooling is quite outdated) so I'm looking for advice on >>> what's in common use in the WMF environment these days. If I'm going to >>> learn some new tools, I figure I might as well learn what folks here are >>> using. If only because it'll make it easier for me to mooch on other >>> people for help :-) >>> >>> As far as testing goes, I used to use JUnit. I gather that's pretty >>> old-hat by now. What are you-all using? >>> >>> And for app frameworks. Angular? React? I hear Vie might be the new >>> hotness? I'm leaning more towards "easy to learn" vs "most powerful". >>> _______________________________________________ >>> Cloud mailing list -- cloud@lists.wikimedia.org >>> List information: >>> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ >>> >> _______________________________________________ >> Cloud mailing list -- cloud@lists.wikimedia.org >> List information: >> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ >> > _______________________________________________ > Cloud mailing list -- cloud@lists.wikimedia.org > List information: > https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/ >
_______________________________________________ Cloud mailing list -- cloud@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/