overleaf/services/web/frontend/js/features/pdf-preview/components
Antoine Clausse 30860ae9f9 [web] Migrate PDF Logs to BS5 (#21062)
* [web] Migrate Logs components JSX to Bootstrap 5

* [web] Migrate logs.less to logs.scss

* [web] Remove unused class names

* [storybook] Define default Bootstrap version in Storybook

This prevents some warning in the console

* [storybook] Update pdf-preview.stories.jsx

* [storybook] Add pdf-log-entry.stories.tsx

* [storybook] Force re-renders when switching BS version

* [web] Keep files dropdown menu in bounds

* [web] Make files dropdown items not bold in BS5

* [web] Revert unrelated change

* [web] Fixup PreviewLogsPaneMaxEntries

* [web] Add style for log-entry-content-link

* [web] Replace log-entry by OLNotification in `PdfCodeCheckFailedNotice`

* [web] Use `BootstrapVersionSwitcher` instead of `isBootstrap5`

* [web] Rename `DropdownBS3` to `BS3Dropdown`

* [web] Reuse variables for `toolbar-height` and `toolbar-small-height`

* [web] Set `id` on `DropdownToggle` not `Dropdown`

* [web] Set `log-entry-btn-expand-collapse` in BS3 only

* [web] Remove `block: true` from StartFreeTrialButton in BS3

* [web] Remove unnecessary CSS in `.log-entry-header-link`

* [web] Use semantic color names

* Migrate the downloadable pdf file list to Bootstrap 5

* Remove nested BootstrapVersionSwitcher, fix "key" prop

* Update roles to: `<li role="menuitem">` `<a role="link">`

* Update `log-entry-header-link`: variant ghost and fix colors

---------

Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 89848970ab5d8a8c135335386caf24363f69a34c
2024-10-23 08:06:32 +00:00
..
compile-time-warning-upgrade-prompt-inner.tsx [web] Use React hooks to get split-test variants instead of getSplitTestVariant (getMeta) (#18133) 2024-05-01 08:04:55 +00:00
compile-time-warning-upgrade-prompt.tsx Merge pull request #18898 from overleaf/jpa-no-window 2024-06-19 08:04:21 +00:00
detach-compile-button-wrapper.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
detach-compile-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
detach-synctex-control.jsx Migrate layout context to TypeScript (#15275) 2023-10-19 08:03:01 +00:00
pdf-clear-cache-button.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-code-check-failed-notice.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-compile-button.tsx Merge pull request #21002 from overleaf/rd-icon-updates 2024-10-14 11:09:41 +00:00
pdf-download-files-button.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-file-list.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-hybrid-code-check-button.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-hybrid-download-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-hybrid-logs-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-js-viewer.tsx Upgrade Sentry SDK (#20806) 2024-10-14 11:01:28 +00:00
pdf-log-entry-content.jsx Move the compile assistant into individual log entries (#18168) 2024-05-09 08:04:33 +00:00
pdf-log-entry-raw-content.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-log-entry.jsx Updates to the AI error assistant (#19107) 2024-06-26 11:11:44 +00:00
pdf-logs-entries.jsx Display previous fix from AI error assistant (#19278) 2024-07-15 09:03:19 +00:00
pdf-logs-viewer.jsx Merge pull request #17909 from overleaf/ac-tear-down-compile-timeout-tests-2 2024-04-16 08:04:08 +00:00
pdf-orphan-refresh-button.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-page-number-control.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-preview-detached-root.jsx Remove Angular (#17534) 2024-06-06 08:04:09 +00:00
pdf-preview-error-boundary-fallback.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
pdf-preview-error.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
pdf-preview-hybrid-toolbar.jsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-preview-messages.tsx Add Rich Text survey message in PDF preview pane (#9423) 2022-09-02 08:04:41 +00:00
pdf-preview-pane.tsx Convert PDF.js code to TypeScript 2024-10-14 11:00:45 +00:00
pdf-preview-provider.tsx Add PdfPreviewProvider and preserve PDF viewer loading error (#14970) 2023-09-29 08:04:10 +00:00
pdf-preview.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
pdf-synctex-controls.jsx Merge pull request #20807 from overleaf/rd-ide-resizer 2024-10-14 11:09:55 +00:00
pdf-toolbar-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-validation-issue.jsx Merge pull request #15040 from overleaf/jpa-js-to-jsx 2023-09-29 08:04:29 +00:00
pdf-viewer-controls-menu-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-viewer-controls-toolbar.tsx Merge pull request #19390 from overleaf/dp-pdf-tools-teardown 2024-07-22 08:04:22 +00:00
pdf-viewer.tsx Convert PDF.js code to TypeScript 2024-10-14 11:00:45 +00:00
pdf-zoom-buttons.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
pdf-zoom-dropdown.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
stop-on-first-error-prompt.jsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00
switch-to-editor-button.tsx Merge pull request #20708 from overleaf/ii-bs5-pdf-toolbar 2024-10-14 11:06:17 +00:00
timeout-upgrade-prompt-new.tsx [web] Migrate PDF Logs to BS5 (#21062) 2024-10-23 08:06:32 +00:00