Commit Graph

315 Commits

Author SHA1 Message Date
David Karlsson 4fdce97ab4
Merge pull request #21244 from dvdksn/guides-filters-tags
guides: rework filter logic, presentation
2024-10-30 13:27:00 +01:00
David Karlsson 2e0d0fd50d
Merge pull request #21260 from dvdksn/fix-site-header-sm-screens
site: improve header display on small devices
2024-10-29 10:08:50 +01:00
David Karlsson 56e58ae5bf site: rework guides filters and tags taxonomy
- Rework the filtering system for guides to drop the use of the
  "products", "subjects", and "levels" taxonomies in favor of "tags" and
  "languages"
- This change means that the existing taxonomy functionality integrates
  better with the guides filtering, and there are fewer parameters to
  keep in mind when adding metadata to a guide
  - Only two taxonomies instead of three
  - Only one of those taxonomies are guides-specific (languages)
  - The other taxonomy (tags) works for all content
- Updates how tags and tag pages are rendered in general

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 16:10:20 +01:00
David Karlsson 93f816efbb site: use condensed header logo on small screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 16:04:40 +01:00
David Karlsson a0bb017467 site: move theme switch to footer
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-28 15:55:48 +01:00
Sarah Sanders 7a980eb666 Update JIT, SCIM, and group mapping guides 2024-10-24 15:52:48 -07:00
David Karlsson 6d320898d5
Merge pull request #21097 from dvdksn/tbl-styles
hugo: update table styles
2024-10-24 15:10:43 +02:00
3juhwan f79f2c38fa Update main page index.html: Added period 2024-10-24 10:53:18 +09:00
David Karlsson c026103cef guides: update listing layout on landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-18 16:41:13 +02:00
David Karlsson ce36a8cf02 guides: improve styles for filter options on guides landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-11 14:57:03 +02:00
David Karlsson 0f80eeae07 site: automatically scroll down the sidebar to reveal the current page
Some pages are nested quite deep in the sidebar, which means they aren't
automatically visible on pageload unless the sidebar is scrolled. This
commit adds a scrolldown function to the sidebar to check if the element
representing the current page is in view. If it isn't, the sidebar is
scrolled down to a position where the current page comes into view.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 12:28:21 +02:00
David Karlsson ecc54f2b3b hugo: align cli table styles with defaults, add horizontal overflow
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 10:46:23 +02:00
David Karlsson ffd3ccd072 hugo: use render hook for markdown tables
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 10:46:11 +02:00
Craig Osterhout 3bb24b6420
admin: remove company mgmt from hub (#21035)
* admin: remove company mgmt from hub

Signed-off-by: Craig <craig.osterhout@docker.com>
2024-10-07 11:59:29 -07:00
David Karlsson ef0d03ff26 fix: relative image references in leaf bundles
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-07 12:52:16 +02:00
David Karlsson 1acba34616 site: add overview blurb to the guides landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-07 10:54:46 +02:00
David Karlsson 7e6a56b11f guides: disable user-select for filter labels
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-04 10:30:54 +02:00
David Karlsson 2e59bd4eb7 site: use filter-based nav for guides
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-03 16:50:15 +02:00
David Karlsson 29eff6bfe8
Merge pull request #21022 from dvdksn/chorework-24q3
chore: dependency updates and vale tweaks
2024-09-30 09:45:33 +02:00
David Karlsson d3b966e9f6 deps: update material-symbols icons to v0.23.0
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-27 12:09:29 +02:00
David Karlsson 261f41c187 site: add state of app dev survey landing page callout
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-27 11:26:53 +02:00
David Karlsson 3c83e5399d site: add cookies settings button (onetrust)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-23 16:00:44 +02:00
David Karlsson 57bd20f334 Revert "site: add cookie settings button"
This reverts commit e845f4250a.
2024-09-23 14:59:32 +02:00
David Karlsson e845f4250a site: add cookie settings button
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-23 14:15:33 +02:00
David Karlsson acf8cc7f66 site: update Ask AI callout on search page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-20 18:28:28 +02:00
David Karlsson 77858d9066 site: add Ask AI button to header
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-20 18:28:05 +02:00
David Karlsson 3f37a4c682
Merge pull request #20919 from dvdksn/fix-engine-sidebar-title
site: fix "latest" engine api sidebar link
2024-09-17 16:24:40 +02:00
David Karlsson 87af4e586a search: don't hide search drop-down on focus change
Focus/blur events are handled diffrently in Safari compared to other
browsers. For a better experience, let's not attempt to close the search
results drop-down if focus exits the search bar area. We still have a
click.outside and a keyup listener for "escape" on window to handle the
close, and a "close" button in the input bar (which is now also
focusable).

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-17 14:07:06 +02:00
David Karlsson ba32f0719b site: fix "latest" engine api sidebar link
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-17 12:03:18 +02:00
David Karlsson 52f9c17066 search: fix responsiveness issue on md screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-17 10:18:39 +02:00
David Karlsson 5eb0381ef1 hugo: refactor sidebar templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-17 10:11:09 +02:00
David Karlsson 7f321a9197 hugo: move sidebar main navigation to partial
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 18:02:21 +02:00
David Karlsson dd294db10b hugo: add main nav icons and fix mobile rendering
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 17:50:29 +02:00
David Karlsson d970c475e0 hugo: use comon base template in taxonomy layouts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 15:55:57 +02:00
David Karlsson a2497ef464 site: use common base layout in search layout
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 15:55:54 +02:00
David Karlsson 4443d3640a hugo: update layout architecture
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 14:43:05 +02:00
David Karlsson d078a3b291 site: update top navigation styles
- use the full viewport width
- goodbye sad gray, hello fun blue
- nicer logo

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 11:03:22 +02:00
David Karlsson 6205776d1f
Merge pull request #20881 from dvdksn/rm-badge-thumnail-title
fix: badge markup showing up in preview titles
2024-09-13 10:13:08 +02:00
David Karlsson 2260278786 hugo: define sidebar badge using front matter
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-13 09:45:42 +02:00
David Karlsson 1f17aa9c32 site: fix search page redirects
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-13 09:19:19 +02:00
David Karlsson 55a45c1278 fix: prefill query param on search
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-12 17:58:37 +02:00
David Karlsson 58aa02924d site: improve search ux, add /search page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-12 17:14:01 +02:00
David Karlsson 5ec60d925c
Merge pull request #20847 from dvdksn/use-i18n-strings
hugo: use i18n strings in callouts
2024-09-11 17:40:10 +02:00
David Karlsson 3249110cdf hugo: use i18n strings in 'experimental' and 'restricted' shortcodes
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 15:08:59 +02:00
David Karlsson 5e4fc68d6e hugo: use i18n string for 'caution' alerts
While we don't currently use the caution alert anywhere yet, we should
still be consistent in using i18n strings for these (not `title
.AlertType`).

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 15:08:38 +02:00
David Karlsson edc85bef6e hugo: inline top-nav partial
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 14:27:55 +02:00
David Karlsson f530a68e24 hugo: inline toc-cli partial
This partial was only used once.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 14:25:52 +02:00
David Karlsson e79d7a84bd hugo: add support for pageless links in sidebar
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 14:15:15 +02:00
David Karlsson c17d0e8553 hugo: create a common api layout
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 12:44:34 +02:00
David Karlsson e3a66f58ae hugo: create a common wide layout
The wide base templates used by tags and learning paths were identical.
Creating a single-column `wide` layout instead to enable code reuse.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-11 11:45:46 +02:00