Abril Rincón Blanco
9822030e01
Fix goldenlayout dropdowns z-index fight with Monaco's minimaps ( #7478 )
...
Fixes a z-index fight among goldenlayout's dropdowns and the editor's
minimap, which both had a z-index of 5 - Let goldenlayout's win by 1 now
Closes
https://github.com/compiler-explorer/compiler-explorer/issues/7473
2025-03-09 18:57:56 +01:00
Ofek
55cf8f519c
Fix depracation warnings ( #7395 )
...
Sass `transparentize` is deprecated:
https://sass-lang.com/documentation/breaking-changes/color-functions/
2025-02-14 22:19:38 +02:00
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
narpfel
02b574b4a9
Show that pane is already open when disabling the button to create a new pane ( #7002 )
...
When a new pane (such as the LLVM IR view) is opened using a button in
the “Add new...” or “Add tool...” menu, the button is disabled. This can
be confusing when the pane is not visible (e. g. when it is in a tab in
the background), because it can also be interpreted as “this is not
supported“.
This PR adds an `[already open]` to the button when it is disabled.
2024-10-24 21:24:54 +03: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
Patrick Quist
cdb59644cc
Add build info for libraries ( #6639 )
2024-06-29 00:03:09 +02:00
Partouf
88e94c9e90
fix toast notication z-index
2024-06-21 02:59:31 +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
7db4a4d253
Horizontal scroll the entire execution pane ( #6606 )
...
Fixes #6210
2024-06-14 20:40:41 -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
Jeremy
aa7fc9bd82
Fix un-needed scrollbars on tooltips
2024-05-05 12:23:38 -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
c2fa676a8e
Create the real dark mode ( #6309 )
2024-03-31 19:41:51 -05:00
Jeremy Rifkin
c34b85c320
Ansi color theming ( #5848 )
2024-03-20 22:01:36 -05:00
Matt Godbolt
3cfffa68d2
Add a new sponsor: ThinkCell. Thank you! ( #6213 )
2024-03-02 15:45:25 -06:00
Ofek
f8dd324af3
Fix #5847 : allow equal-chars while parsing env vars ( #5882 )
2023-12-15 21:50:21 +02:00
Matt Godbolt
1c23ecc2aa
Attempts at getting the sponsors less clippy. Shifts the community motd to the left though
2023-12-13 22:49:20 -06:00
J. Ryan Stinnett and Matt Godbolt
f0e1d5d264
Add Racket optimisation pipeline ( #5836 )
...
This adds a Racket optimisation pipeline view by reusing the existing
LLVM-focused optimisation pipeline UI. A Racket-specific pass parser
translates its output into passes for the UI to present.
This new Racket optimisation pipeline view is currently only enabled for
Racket nightly, as it depends on [recent
changes](https://github.com/racket/racket/pull/4842 ) to Racket's
compiler output to function.
This also extends the opt pipeline view to allow customising the
function selector label as well as the options and filters for each
compiler where needed.

---------
Co-authored-by: Matt Godbolt <matt@godbolt.org >
2023-12-11 19:35:45 -06: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
Patrick Quist
455d92916a
Execution with heaptrack ( #5644 )
2023-11-07 23:59:40 +01:00
Rubén Rincón Blanco
45baa0b2a6
Fix z-index of toasts in Boostreap 4 ( #5719 )
2023-11-07 14:52:03 +01:00
Patrick Quist
0e85d8c388
Fix link datetime layout ( #5263 )
2023-07-18 02:26:35 +02:00
Patrick Quist
9b983d6965
Load and show creation_date of shortlink ( #5236 )
2023-07-17 23:36:36 +02:00
Matt Godbolt
87024e2239
Bump latest deps ( #5252 )
2023-07-10 21:31:04 -05:00
Jeremy Rifkin
4260313e13
Common utilities and type work ( #5200 )
...
This PR refactors some common utilities out of lib/ and into shared/ and
eliminates some use of underscore.js, as well as general type
improvements done along the way.
2023-06-28 20:13:10 -04:00
Jeremy Rifkin
9b69146add
Move all styles to static/styles ( #5210 )
2023-06-28 08:06:45 -04:00
Jeremy Rifkin
e267286553
Support user site templates ( #5180 )
...
Long overdue


2023-06-19 22:33:40 -04:00
Jeremy Rifkin
c779507000
Create a print view ( #5161 )
...
This PR adds a print view for CE
Closes #4617

At the moment syntax highlighting isn't working. I think we need a way
to get style definitions from monaco. I've opened an issue at
https://github.com/microsoft/monaco-editor/issues/4031 . For the CFG
pane, using the monaco classes "just works", but for some reason when
@media print is applied those definitions go away. We'd want to always
use light mode colors anyway.
2023-06-19 22:13:45 -04:00
Jeremy Rifkin
7a5d21338c
Fix color scheme flash on page load for pink theme ( #5174 )
...
Updating the logic in #4488
2023-06-18 15:32:34 -04:00
Jeremy Rifkin
8c292050fd
Fix word wrapping for compiler filters ( #5147 )
2023-06-14 15:43:23 +02: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
Jeremy Rifkin
0bc22f8883
Egregiously overengineered fix for a niche UI bug ( #5074 )
...
Fixes #4714
2023-05-30 21:11:21 -05:00
Patrick Quist
44a8011571
min width spon thing ( #5072 )
...
only tested manually in chrome, not by running CE
2023-05-22 22:23:31 -05:00
Jeremy Rifkin
ad6aa98284
Make compiler full version tooltips scrollable ( #5067 )
...
Fixes #4816
2023-05-22 12:19:54 -04: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 Rifkin
55b82bb12c
Turn off april fools mode ( #4927 )
...
This PR has the changes to remove the pink banner once we are ready to do so
2023-04-02 19:31:46 -05:00
Matt Godbolt
54a99f6d51
Upgrade all minor versions; format; bump sonar and css minimizer ( #4920 )
2023-04-01 20:29:06 -05:00
Jeremy Rifkin and Matt Godbolt
e93fc860fe
Add a close button for the "Now in pink" banner ( #4919 )
...

---------
Co-authored-by: Matt Godbolt <matt@godbolt.org >
2023-04-01 16:29:28 -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