Rotate sponsors on the top of the page:
- `topIcon` -> `topIconShowEvery`
- `Sponsors` becomes an interface with methods to get levels, pick sponsors etc
- A somewhat acceptable algorithm for generating a "fair choice" of sponsors given the constraints:
- "show at least 1 in N times"
- don't unfairly show one sponsor more than any other at the same level
- Sponsor icons are loaded dynamically via a "bits" handler (introducing a short delay in them appearing), but this means the index.html doesn't change on every load, so it's still cacheable
* Baseline for the ui
* Backend system / frontend baseline
* Automated screenshot generation / integration
* added copyright
* Style improvements
* Reworked config / integrated images into webpack
* Added tree ide template and updated the screenshot generation script
* Added screenshots for each theme
* Updated screenshots to use embed mode and hide the site header
* Added test case, removed leftover console.log
* Renamed /api/getSiteTemplates to /api/siteTemplates
* Renamed site template type
* Two quick code cleanups while I'm here
* Added default font size user setting
* Better addSelector solution
* Fix and clarification, thanks Ruben
* Updated typing
* Added font scale broadcast
* Use webpack loaders to generate both the pug output and the SHA256 hash of it
* Uniformly use pug for HTML templating
* Policy hashes are entirely client-side
* No longer need to have the policy documents available to the server side
* build the release in-place in out/dist
* run the tsc compiler on the code so everything is pre-transpiled
* serve the various generated html snippets uniformly from the web page so they come from one place.
* Group some files to their own folders
In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder
Added cypress folder to .gitignore
* Address Matt's PR reviews
* Move new Pane renaming to folder
Fetch is a modern, promise-based API for sending HTTP requests from the browser (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
This patch introduces whatwg-fetch as the polyfill for fetch, as well as installing it inside the main script.
* Touches and changes to the UI to make it more consistent
It fixes some problems, improves the UX of certain actions,
and clears some code up
* More minor tweaks to the UI
* Fix class typo
* Add compiler picker opt group header background color in default theme
* Fix conformance view
* Removes some in favour of margins
Removes boostrap-slider, there's a built-in html solution
Fixes tab width setting having a wrong input type
* More UI tweaks
* Remove empty CSS rule
It also fixes a bug where multiple sources could be created if dropped
into the same dragSource button
Moves somes _.bind(fn to fn.bind( in ts code
Closes#2895
* Simplify timing char handling
It also removes some duplicated code concerning the settings
while at it
* No need to make Timing a "class" anymore
* Address @partouf PR review
* Extract a compiler picker and fix up edge cases
* Use it across the three places that let you pick compilers.
* Fix a number of minor UI issues.
* When reloading a page, prefer the 'favorite' compiler selection in the selectize. Thanks @oyejorge
Co-authored-by: RabsRincon <ruben@rinconblanco.es>
Co-authored-by: partouf <partouf@gmail.com>
With huge thanks to @oyejorge
* allows favourites to be picked
* replace selectize with tom-select 1.7
Addresses (if not closes) #1917 & #257.
Co-authored-by: Matt Godbolt <matt@godbolt.org>
* Sketch a possible solution for #2436
* Do the dirty and just call setupSharing twice
* add embeds share, reuse embed dialog and get rid of old popup
* styling fixes
* rename dialog
* refactor and reintroduce ctrl+s implementation
* reintroduce analytics sending
Co-authored-by: partouf <partouf@gmail.com>
* Sketch possible solution for #2464
* Save all element lookups when not necessary
Varible names are weird because var is weird
* Actually change varible names
* Remove lefover classes from previous tests
* Add some breathing room to bells
* Use Jquery selectors
* Hide bells when a simpleCooks consent choice is made
* Privacy policy updates. Closes#2276
* Improve policies timestamp generation
* Remove leftover debug print
* Python3 all the things
Also uses the short hash for policy commits
* More master->main.
Co-authored-by: RabsRincon <ruben@rinconblanco.es>