Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monaco improvements #15333

Merged
merged 2 commits into from
Apr 8, 2021
Merged

Monaco improvements #15333

merged 2 commits into from
Apr 8, 2021

Conversation

silverwind
Copy link
Member

  • Create theme at runtime which follows the CSS variables of the site
  • Disable a few opinionated Monaco defaults like minimap and word highlights
  • Move styles to separate file

Screen Shot 2021-04-07 at 22 28 39

Screen Shot 2021-04-07 at 22 31 37

@silverwind silverwind added the topic/ui Change the appearance of the Gitea UI label Apr 7, 2021
@silverwind silverwind force-pushed the editor-improvments branch 2 times, most recently from 6464e4f to 8bd55c7 Compare April 7, 2021 21:02
- Create theme at runtime which follows the CSS variables of the site
- Disable a few opinionated Monaco defaults like minimap and word highlights
- Move styles to separate file
@silverwind
Copy link
Member Author

Labeling for backport as well as this is low-risk but nice improvement imho :)

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 7, 2021
@lafriks lafriks added this to the 1.15.0 milestone Apr 7, 2021
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 8, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 8, 2021
@lunny
Copy link
Member

lunny commented Apr 8, 2021

make L-G-T-M work.

@lunny lunny merged commit 4eea819 into go-gitea:master Apr 8, 2021
silverwind added a commit to silverwind/gitea that referenced this pull request Apr 8, 2021
- Create theme at runtime which follows the CSS variables of the site
- Disable a few opinionated Monaco defaults like minimap and word highlights
- Move styles to separate file

Co-authored-by: zeripath <art27@cantab.net>
@silverwind silverwind added the backport/done All backports for this PR have been created label Apr 8, 2021
6543 pushed a commit that referenced this pull request Apr 8, 2021
- Create theme at runtime which follows the CSS variables of the site
- Disable a few opinionated Monaco defaults like minimap and word highlights
- Move styles to separate file
silverwind added a commit to silverwind/gitea that referenced this pull request Apr 8, 2021
It produces odd rgba values which also seem to cause issues in monaco's
color parser where the scoll shadow went red for some reason.

Regression by: go-gitea#15333
silverwind added a commit to silverwind/gitea that referenced this pull request Apr 8, 2021
It produces odd rgba values which also seem to cause issues in monaco's
color parser where the scoll shadow went red for some reason.

Regression by: go-gitea#15333
@silverwind silverwind deleted the editor-improvments branch April 8, 2021 17:21
zeripath pushed a commit that referenced this pull request Apr 8, 2021
It produces odd rgba values which also seem to cause issues in monaco's
color parser where the scoll shadow went red for some reason.

Regression by: #15333
6543 pushed a commit that referenced this pull request Apr 9, 2021
It produces odd rgba values which also seem to cause issues in monaco's
color parser where the scoll shadow went red for some reason.

Regression by: #15333
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants