Luka Prebil Grintal
81d18c4c4b
Add Bluesky to link sharing options and other menu ( #7126 )
...
Adds intent link for sharing a Compiler Explorer link to Bluesky. Also
adds a link to the [Compiler Explorer Bluesky
profile](https://bsky.app/profile/compiler-explorer.com ) into the
`Other` menu.
<details>
<summary><b>Screenshots of the new links:</b></summary>
<img width="1239" alt="image"
src="https://github.com/user-attachments/assets/2db4a9ee-a0db-4b32-b317-a671d4744b24 ">
<img width="244" alt="image"
src="https://github.com/user-attachments/assets/5ebcee95-00b8-4219-b057-842f431bed92 ">
Shared post
<img width="628" alt="image"
src="https://github.com/user-attachments/assets/57f8c264-5590-4cef-ad00-215af5008512 ">
</details>
I added the `via @compiler-explorer.com` to be the same as twitter, but
since bsky does not fully support tagging yet, it gives the user a
dropdown to select the compiler explorer user, which seems kinda janky.
I left it in for now, but can remove it until bsky supports tagging
automatically.
2024-11-26 13:48:12 -06:00
Ofek
a99edaf5bf
Fix opt-remarks / stack-usage font size in all themes - not just default ( #6751 )
...
Leftover from PR #6671
2024-08-04 16:11:37 +03:00
Ofek
b8a3a12371
Stop fixing stack-usage/opt-remarks font size ( #6671 )
...
Setting font-size in css does not respond to resizing:

I suspect (1) this is a monaco limitation (based on
[this](https://github.com/microsoft/monaco-editor/discussions/3717#discussioncomment-5190536 )),
and (2) they're not keen on improving their font control (based on
[this](https://github.com/microsoft/monaco-editor/issues/2242#issuecomment-1433466832 )).
Reverting the css fontsize makes it behave properly:

@RubenRBS Sorry, I too preferred your idea of smaller decoration text.
2024-06-29 18:10:19 +02:00
Jeremy Rifkin
03cbf20c92
Update ansi dark colors ( #6573 )
...
This PR tweaks some of the ansi colors for dark themes. It's fairly
subtle overall, I mainly:
- Decreased brightnesses of green/cyan/yellow
- Desaturated purple/blue/red and made them a bit lighter
- Switched white to a slightly off-white
| old | new |
|---|---|
|

|

|
Old:

New:

2024-06-15 12:10:09 -05:00
Jeremy Rifkin
c5b2ed0520
Use improved ansi colors for one dark pro ( #6572 )
...

2024-06-09 13:07:03 -05:00
Ofek
2687f6a309
Make stack-usage display inline, same as opt-view ( #6469 )
...
Following the intention declaration
[here](https://github.com/compiler-explorer/compiler-explorer/pull/6393#issuecomment-2076787747 ):

2024-05-14 10:56:24 +03:00
Jeremy
c508d202d9
Update tooltip arrow color in one dark theme
2024-05-05 12:27:18 -05:00
Ofek
f59bad3a7e
Opt remarks: replace hover-over-sidebar display with inline text ( #6393 )
...

2024-04-25 12:37:57 +03:00
Matthew Guidry
f710f316cd
Correct several colors in one dark ( #6341 )
...
Fixed:
- Dropdown menu disabled color
- Dropdown menu active color
- General panel background color
- Separator line for minimap
- Output text-count color
- Remove pure white across theme
- Fix custom-select in popout
2024-04-10 20:23:10 -05:00
Matthew Guidry
102b253f57
Add one dark theme ( #6324 )
...
Adds a new theme based on the One Dark theme from the Atom text editor.
Adds a new line highlighting theme "Soft Dark Rainbow" that works better
with the One Dark theme.
2024-04-06 23:30:39 -05:00
Jeremy Rifkin
c34b85c320
Ansi color theming ( #5848 )
2024-03-20 22:01:36 -05:00
J. Ryan Stinnett
c3e1b04c31
Rename opt pipeline without LLVM prefix ( #5828 )
...
This prepares for future work that will reuse the opt pipeline view
outside of the LLVM ecosystem by renaming related components to remove
the LLVM prefix.
The pass dumper keep its LLVM prefix, as it is assumed this part is
likely to be customised for each compiler ecosystem.
The historical component name has been preserved in the component list
as an alias to keep old links working.
2023-12-03 11:33:42 -05:00
Jeremy Rifkin
60ce06b02f
Improve cache handling on the frontend, cache executions on the backend, and improve controls on the exec pane ( #5111 )
2023-06-11 19:10:30 -04:00
Jeremy
319dee6811
Minor reformatting of css
2023-06-11 17:12:58 -04:00
Matt Godbolt
214e48262b
Bump all deps ( #5114 )
...
- npm update
- bump the webpack version as usually that needs it
- re-run eslint
- re-run format
2023-06-06 20:56:10 -05:00
Jeremy Rifkin and Matt Godbolt
edcacc0272
Better compiler argument warnings handling ( #5076 )
...
The goal of this PR is to display any warnings about compiler arguments,
e.g. the warning about -march=native, somewhere else instead of a toast
notification every time. Feature requested on discord.



---------
Co-authored-by: Matt Godbolt <matt@godbolt.org >
2023-05-30 21:18:09 -05:00
Patrick Quist
079d495757
Compiler overrides ( #5001 )
2023-05-16 03:53:57 +02:00
Jeremy Rifkin
4878402b53
A few pink mode fixes ( #4935 )
...
Fix selection, set a pink selection color, fix executor stdout, and fix
the cursor position indicator.
Resolves #4926 , resolves #4933
2023-04-03 12:25:06 -04:00
Jeremy
c8b8733f84
Templates and a quick fix
2023-04-01 01:35:51 -04:00
Jeremy Rifkin
5d8d39f136
Pink ( #4916 )
2023-04-01 00:52:27 -04:00
Jeremy Rifkin and Matt Godbolt
55dc09017e
Compiler Picker UI Improvements ( #4849 )
...
Alrighty, round 2!
This PR makes the compiler picker dropdown taller (max height is to the
bottom of the screen)

I've added a toolbar button for opening the popout as well as a button
when the dropdown is open:


Then the modal interface allows text searching, filtering by compiler
category, and filtering by compiler instruction set. In the future I'd
like to replace the instructionSet property with an architecture
property so the filtering here can be a little better.

Demo of the category filtering:

The text filtering highlights results the same as tomselect does:

I moved the favorites permanently to their own column so compilers
aren't jarringly shifted around the screen when favoriting /
unfavoriting.
Also added media queries so the modal looks ok on smaller screens:


I think the only other two changes from the first PR are now the active
compiler is highlighted like it is in the tomselect dropdown and I
figured out how to reliably focus the search bar on modal open. (Oh, and
now clicking a compiler actually does something!)
---------
Co-authored-by: Matt Godbolt <matt@godbolt.org >
2023-03-12 17:07:44 -04:00
Jeremy Rifkin
bbabd514a5
Update error alert styling ( #4860 )
...

2023-03-12 17:03:36 -04:00
Jeremy Rifkin
ea107a5ff9
More work needed, thanks for the comments Ruben and Matt! :)
...
Revert "Compiler picker UI improvements (#4789 )"
This reverts commit d4a8c2bdb2 .
2023-03-07 10:46:33 -05:00
Jeremy Rifkin
d4a8c2bdb2
Compiler picker UI improvements ( #4789 )
...
Makes the compiler picker dropdown a bit taller, prevents the dropdown from overflowing the page, and also adds a compiler picker popup
2023-03-04 19:55:25 -05:00
Mats Jun Larsen
87203f71cb
Tsify lib/handlers/formatting.js ( #4656 )
2023-01-29 19:21:47 +01:00
Arc_G
4b8b36ddb4
issue : #4628 , Dark theme arrow property corrected ( #4629 )
2023-01-21 14:31:47 -05:00
Rubén Rincón Blanco
cd6c39905b
Add select colours to ts-dropdown ( #4448 )
...
* Add select colours to ts-dropdown
* Ensure readable colour
2022-12-17 22:44:53 -05:00
Jeremy Rifkin
1294c3f949
Control flow graph tool rework ( #3899 )
...
* Removed old code
* Base functionality
* Work on edge offsets
* Setup interval trees for edges
* linter things
* Formatting
* Added syntax highlighting
* Cleanup and simplification. Improved handling of direct dropdown edges.
* Basic zoom/pan
* Remove old blocks from output
* Fix distance calculation
* Added function selector
* Improved zoom behavior
* figue 8 logic
* Canvas scaling / repainting, updated colors
* Don't truncate output, also removed some console.logs
* Tweak to zoom system
* Replaced canvas stuff with svg
* Experimenting with adding shadows to edges
* Removed shadows, was causing problems. Improved how blocks with lots of incident edges are handled.
* Slightly improved edge system
* some work on implementing segment priority system from cutter
* Optimization to rendering process. I was worried the graph layout algorithm was causing the page to hang but it turns out it was adding elements to the page with +=
* Removed need for storing the previous segment
* refactor, splitting up some logic
* Cleaned up logic and got horizontal edges working better
* Remove vis-network dependency
* Updated package-lock, removed @import vis-network css stuff, added a todo for myself
* Cleaned up notes and error messages. Added comments. Clear the pane if there's no function to display
* Added layout time information, implemented .resize
* Light theme
* State work and bug fix for dragiing
* Re-dading lost dark theme changes
* Added jquery import
* Cleaned up console.logs
* Added basic block count
* Incorporated PR review comments; Fixed cypress (hopefully), added documentation, improved the dropdown, and fixed dropdown items not being cleared with an empty result.cfg
* Ran format
2022-11-29 22:28:10 -05:00
Matt Godbolt
22a21e7cfc
npm run format
2022-11-25 12:59:39 -06:00
Ofek
8be6ca12db
Fix #4300 - take css classes outside .opt-decoration in dark theme ( #4301 )
...
* Fix #4300 - take css classes outside .opt-decoraiton in dark theme
* Apply reviewers comments
* Make default-theme.scss match dark-theme.scss for opt-remarks
2022-11-19 15:22:35 -05:00
Rubén Rincón Blanco
c698059df0
Use more scss-isms in dark-theme ( #4203 )
...
* Use more scss-isms in dark-theme
* Fix wrong indentation
2022-10-31 22:47:04 -05:00
Rubén Rincón Blanco
05a2aae407
Move sass files to static/styles ( #3971 )
...
Also hides the tab titles on text overflow
2022-08-19 09:13:11 +02:00