Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Bump code-web-experimental version to 0.2.0#63675

Merged
vovakulikov merged 7 commits into
mainfrom
vk/bump-cody-web-and-minor-fixes
Jul 5, 2024
Merged

Bump code-web-experimental version to 0.2.0#63675
vovakulikov merged 7 commits into
mainfrom
vk/bump-cody-web-and-minor-fixes

Conversation

@vovakulikov

@vovakulikov vovakulikov commented Jul 5, 2024

Copy link
Copy Markdown
Contributor

This PR bumps cody-web-experimental package to 0.2.0 which includes

  • Fixes for UI flashes
  • Support openCTX mention providers
  • Fixes for cursor jumping
  • Fixes for style leaking

Here as well I included a few minor UI fixes for the chat which close

I will update the package for the Svelte version as a follow-up early next week.

Test plan

  • Install the most recent deps
  • Run sg start web-standalone
  • Check chat UI on the standalone chat page and in blob UI

@vovakulikov vovakulikov requested a review from a team July 5, 2024 20:28
@vovakulikov vovakulikov self-assigned this Jul 5, 2024
@cla-bot cla-bot Bot added the cla-signed label Jul 5, 2024

@fkling fkling left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update the dependency in client/web-sveltekit, or we should update its package.json and BUILD.bazel files to use the version installed at the root (which we already do for some other things anyway).

@vovakulikov

Copy link
Copy Markdown
Contributor Author

@fkling yeah, I will update svelte version shortly

@vovakulikov vovakulikov merged commit a81d5e7 into main Jul 5, 2024
@vovakulikov vovakulikov deleted the vk/bump-cody-web-and-minor-fixes branch July 5, 2024 21:57
// stylelint-disable-next-line declaration-property-unit-allowed-list
padding: 1px 3px;
border-radius: 0.25rem;
font-family: var(--monaco-monospace-font);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vovakulikov After looking at this on dotcom, it seems that this has no effect because --monaco-monospace-font is not defined.

Comment on lines +44 to +45
color: var(--vscode-textPreformat-foreground);
background-color: var(--vscode-textPreformat-background);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that this doesn't effect code blocks. Is that intentional?

2024-07-09_10-45

I'm asking because in the Svelte version it does affect code blocks because the generated CSS has higher specificity than the CSS shipped with the sidebar. I can see the following bundled sidebar CSS:

._content_1ni0f_82 pre > code {
  background-color: var(--code-background);
  color: var(--code-foreground);
  margin-bottom: 0;
}

Which seems to have a higher specificity than the rule in this module. And since --code-background isn't defined it seems to fall back to transparent or being unset.

Just want to clarify what the intentions here are so that I can properly replicate it in the Svelte version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants