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

WD-16847 Rebranded /observability/what-is-observability #14587

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
c432661
Download AMD: add 24.04 LTS
goulinkh Nov 26, 2024
ed71cc2
include new copy docs changes
goulinkh Nov 27, 2024
2a0a067
fix class name type
goulinkh Nov 28, 2024
0285297
Update _wiki_notification.html
goulinkh Dec 3, 2024
864c717
fix tabs script for tab buttons
goulinkh Dec 4, 2024
407e1ed
apply copy doc fixes
goulinkh Dec 4, 2024
dfec534
Merge branch 'copy-docs-amd-download' of github.com:goulinkh/ubuntu.c…
goulinkh Dec 4, 2024
a8634ad
update tab ids
goulinkh Dec 5, 2024
d040839
fix: Allow pop up notifications to go under the navigation when scrol…
petesfrench Dec 5, 2024
c050a2e
fix(/embedding/faqs): Update meta_copydoc link
petesfrench Dec 5, 2024
8de94c8
Apply copy changes
mtruj013 Dec 5, 2024
1654306
Merge pull request #14543 from mtruj013/pro-devices
mtruj013 Dec 5, 2024
a9c845c
Merge pull request #14541 from canonical/embedding-faqs-copydoc-fix
akbarkz Dec 6, 2024
9f1e125
copy: update /case-study/esa meta description. WD-17387
yurii-vasyliev Dec 6, 2024
e9cb072
Merge pull request #14542 from yurii-vasyliev/WD-17387
yurii-vasyliev Dec 6, 2024
75aadd6
Ingress: Route all security API requests to the same service
jpmartinspt Dec 6, 2024
c75d96b
USN: Remove packages from the UI on the notices page
jpmartinspt Dec 6, 2024
f4c3590
Merge pull request #14546 from canonical/sec-api-ingress
jpmartinspt Dec 6, 2024
5ea96aa
fix bug test-1 (#14527)
abhigyanghosh30 Dec 6, 2024
7dd7f63
fix: Update chip buttons to anchor tags
britneywwc Dec 9, 2024
a3bb291
Merge pull request #14551 from britneywwc/update-chip-buttons
britneywwc Dec 9, 2024
bba3b81
copy: update charmed openstack index page
pedoch Dec 9, 2024
0091fb9
show first name, sort by completed at (desc) (#14550)
usamabinnadeem-10 Dec 9, 2024
6723f95
Merge pull request #14552 from pedoch/WD-17580-update-https-ubuntu-co…
pedoch Dec 9, 2024
08c2558
Merge pull request #14507 from goulinkh/copy-docs-amd-download
goulinkh Dec 9, 2024
0d67317
disable submission after the form gets submitted (#14549)
usamabinnadeem-10 Dec 10, 2024
e21997e
add redirect
abhigyanghosh30 Dec 10, 2024
d775ebe
copy update: legal/ubuntu-pro-service-terms
andesol Dec 9, 2024
2e97f43
fix: update footer to span full width
britneywwc Dec 11, 2024
032056b
Merge pull request #14557 from britneywwc/tutorials-footer
britneywwc Dec 11, 2024
2de647d
Update redirects.yaml
abhigyanghosh30 Dec 11, 2024
7921fa2
Merge pull request #14556 from canonical/WD-17299-redirect
fasih-mehmood Dec 11, 2024
4d39cb6
fix: update broken Ubuntu Pro discourse links
britneywwc Dec 11, 2024
4de6ca8
Run djlint
britneywwc Dec 11, 2024
f40fbd1
Merge pull request #14558 from britneywwc/fix-pro-broken-links
britneywwc Dec 11, 2024
8231079
Fix single package
juanruitina Dec 11, 2024
1c6dbd3
feat: update links on /download/amd
huwshimi Dec 11, 2024
bd385ab
Merge pull request #14563 from huwshimi/download-amd-update-links
huwshimi Dec 12, 2024
f7ebb02
chore: change Canonical to Charmed
chillkang Dec 12, 2024
5a636e1
Merge pull request #14553 from andesol/update-pro-service-terms
akbarkz Dec 12, 2024
01a1856
Merge pull request #14561 from canonical/cves-fix-single-package
juanruitina Dec 12, 2024
d5759d3
Merge pull request #14564 from canonical/WD-17581-openstack-support-p…
chillkang Dec 12, 2024
9f12a1a
bug: Fix issue where 'is-loading' class was not removed from loaded t…
petesfrench Dec 12, 2024
7e35aff
chore(/gcp): Update content (#14562)
petesfrench Dec 13, 2024
612c698
Feature rebrand IoT (#14539)
mtruj013 Dec 13, 2024
5e948fa
chore: update link in nvidia-jetson
anusha-c18 Dec 16, 2024
7a4511c
C3-803: Rebrand the Certified Hardware Details Page (#14466)
andrejvelichkovski Dec 16, 2024
49d0f99
copy update: hpe
samhotep Dec 16, 2024
6dfe4e0
Added updates service
samhotep Dec 13, 2024
fc23097
Set number of updates replicas
samhotep Dec 13, 2024
5304196
Update site.yaml
samhotep Dec 16, 2024
aa4f867
Merge pull request #14574 from anusha-c18/copy-update
anusha-c18 Dec 16, 2024
468b2b3
Merge pull request #14572 from canonical/add-updates-service
samhotep Dec 16, 2024
59159c0
chore: Update security docker images page
steverydz Dec 12, 2024
0b32bd8
Update templates/security/docker-images.html
steverydz Dec 17, 2024
0a6eda7
Update templates/security/docker-images.html
steverydz Dec 17, 2024
5b4001f
Update templates/security/docker-images.html
steverydz Dec 17, 2024
25518a3
[K8s docs] Add release_1.31+ck1 release notes (#14579)
HomayoonAlimohammadi Dec 17, 2024
35d0ab1
Merge pull request #14565 from steverydz/WD-17711-update-docker-image…
steverydz Dec 18, 2024
f659560
Merge pull request #14578 from canonical/WD-17695-hpe-copy-update
samhotep Dec 18, 2024
a261ffb
Clarify subscription co-term details in summary component (#14583)
usamabinnadeem-10 Dec 18, 2024
af8ccc9
Rebranded observability/what-is-observability
Dec 19, 2024
0607eeb
Updated assets
Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions konf/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -368,17 +368,10 @@ production:
- name: SENTRY_DSN
value: https://[email protected]//13

- paths: [/security/notices\.json]
service_name: ubuntu-com-security-api-notices

- paths: [/security/notices/.*\.json]
service_name: ubuntu-com-security-api-notices-detail

- paths: [/security/updates/.*]
service_name: ubuntu-com-security-api-updates

- paths:
[
/security/notices\.json,
/security/notices/.*\.json,
/security/cves\.json,
/security/cves/.*\.json,
/security/releases\.json,
Expand All @@ -388,6 +381,11 @@ production:
]
service_name: ubuntu-com-security-api

- paths: [/security/updates/.*]
service_name: ubuntu-com-security-api-updates
replicas: 2
memoryLimit: 1Gi

- paths: [/security]
name: ubuntu-com-security
app_name: ubuntu.com-security
Expand Down
4 changes: 2 additions & 2 deletions navigation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ support:
- title: Pricing
path: /pricing/pro
- title: Discourse
path: https://discourse.ubuntu.com/c/ubuntu-pro
path: https://discourse.ubuntu.com/c/project/ubuntu-pro/116/

pro:
title: Ubuntu Pro
Expand All @@ -335,7 +335,7 @@ pro:
- title: Docs
path: https://documentation.ubuntu.com/pro
- title: Discourse
path: https://discourse.ubuntu.com/c/ubuntu-pro
path: https://discourse.ubuntu.com/c/project/ubuntu-pro/116/

Distributor:
title: Ubuntu Pro Distributor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"typescript": "5.5.4",
"url-polyfill": "1.1.12",
"url-search-params-polyfill": "8.2.5",
"vanilla-framework": "4.18.2",
"vanilla-framework": "4.18.3",
"yup": "1.4.0"
},
"resolutions": {
Expand Down
1 change: 1 addition & 0 deletions redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,7 @@ tour/?: "/desktop"
tour/en/?: "/desktop"
tour/zh-CN/?: "/desktop"
trademark-policy/?: "/legal/intellectual-property-policy"
tutorials/secure-ubuntu-kiosk: "https://mir-server.io/docs/make-a-secure-ubuntu-web-kiosk"
tuxaward/?: "/blog/ubuntu-wins-tux-award/"
ua/?: "/support"
ua-assurance-terms/?: "/legal/ubuntu-advantage-assurance"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ const ExamResults = () => {
</small>
),
},
{
Header: "First Name",
accessor: "user.first_name",
sortType: "basic",
},
{
Header: "User Email",
accessor: "user_email",
Expand Down Expand Up @@ -295,6 +300,8 @@ const ExamResults = () => {
{flatData && flatData?.length > 0 && (
<>
<ModularTable
initialSortColumn="completed_at"
initialSortDirection="descending"
data={currentRows}
columns={columns}
sortable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,10 @@ function Summary({ products, action, coupon, setError }: Props) {
{format(new Date(priceData?.end_of_cycle), DATE_FORMAT)}
</strong>
</p>
<p>The same date as your existing subscription.</p>
<p>
This subscription is co-termed with your existing subscription.
Both subscriptions will end on the same date.
</p>
</Col>
) : (
<Col size={8}>
Expand Down
8 changes: 8 additions & 0 deletions static/js/src/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ mainList.addEventListener("click", function (e) {
goBackOneLevel(e, target);
} else {
handleDropdownClick(e.target.parentNode);
// This is a temporary fix until we migrate to use the vanilla meganav
closeNotifications();
}
} else if (
target.classList.contains("p-navigation__dropdown-item") ||
Expand All @@ -78,6 +80,12 @@ mainList.addEventListener("click", function (e) {
}
});

// The current set up of the meganav doesn't work well with notifications. The simplest fix for this is to close all notifications when a dropdown is clicked. Can be removed on migration to vanilla meganav.
function closeNotifications() {
const notification = document.querySelector(".p-popup-notification:target");
notification.style.display = "none";
}

let wasBelowSpecificWidth = window.innerWidth < MOBILE_VIEW_BREAKPOINT;
window.addEventListener("resize", function () {
// Only closeAll if the resize event crosses the MOBILE_VIEW_BREAKPOINT threshold
Expand Down
16 changes: 7 additions & 9 deletions static/js/src/tabbed-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,15 @@

attachEvents(tabs, persistURLHash);

const isInsideCurrentContainer =
null !==
tabContainer.querySelector(".p-tabs__link[href='" + currentHash + "']");

if (persistURLHash && currentHash && isInsideCurrentContainer) {
const activeTab = document.querySelector(
if (persistURLHash && currentHash) {
const activeTabLink = document.querySelector(
".p-tabs__link[href='" + currentHash + "']",
);

if (activeTab) {
setActiveTab(activeTab, tabs);
const activeTabButton = document.querySelector(
".p-tabs__item[id='" + currentHash.replace("#", "") + "']",
);
if (activeTabLink || activeTabButton) {
setActiveTab(activeTabLink || activeTabButton, tabs);
}

return;
Expand Down
68 changes: 25 additions & 43 deletions static/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -841,53 +841,18 @@ td.p-accordion {
}

// Styling to display a success message when forms are successfully submitted.
#success {
.p-popup-notification {
display: none;
position: absolute;
}

#success:target {
display: block;
z-index: 10;
}

#newsletter-signup {
display: none;
position: absolute;
}

#newsletter-signup:target {
display: block;
z-index: 10;
}

#contact-form-success {
display: none;
position: absolute;
}

#contact-form-success:target {
display: block;
z-index: 10;
}

#updated {
display: none;
}

#updated:target {
display: block;
z-index: 10;
}

#unsubscribed {
display: none;
position: absolute;
position: relative;
padding-bottom: 0;
.p-notification__content {
margin-bottom: 0.6rem;
}
}

#unsubscribed:target {
.p-popup-notification:target {
display: block;
z-index: 10;
z-index: 9;
}

html {
Expand Down Expand Up @@ -1463,6 +1428,10 @@ $color-link-dark: #69c !default;
&.is-product {
background-color: #f3f3f3;
}

&--logo {
margin-top: $spv--large;
}
}

.p-icon-section {
Expand Down Expand Up @@ -1727,6 +1696,7 @@ legend {
padding-top: 0.5rem;
}
}

// XXX: MPT: Can be removed once this is upstreamed in Vanilla
// https://github.com/canonical/vanilla-framework/issues/5293
.list-matrix {
Expand Down Expand Up @@ -1784,3 +1754,15 @@ legend {
.p-footer-list {
@extend %paragraph;
}

.u-additional-spacing--large {
@media screen and ($breakpoint-large <= width) {
margin-bottom: $sp-unit * 12.5;
}
}

.u-responsive-cta {
@media screen and ($breakpoint-large <= width) {
height: 15rem;
}
}
1 change: 0 additions & 1 deletion templates/base_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,6 @@ <h2 class="p-heading--1 u-no-margin--bottom">Multi-cloud applications&nbsp;&ndas
xhr.send();
fetchUserCountry.open("GET", "/user-country.json", true);
fetchUserCountry.send();
takeoverAnimation.className += " is-loading";
}

function showTakeover(takeovers, index) {
Expand Down
4 changes: 2 additions & 2 deletions templates/case-study/esa.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
{% from "macros/_macros-image.jinja" import image_wrapper %}

{% block title %}Canonical deploys infrastructure solutions and managed IT services for critical space mission operations{% endblock %}
{% block meta_description %}{% endblock %}
{% block meta_description %}Thanks to Canonical, the ESA has unlocked cost savings, easier operations, and more confidence in providing infrastructure in their roadmap for doubling their number of space missions by 2030.{% endblock %}
{% block meta_company_name %}European Space Agency{% endblock %}
{% block meta_copydoc %}{% endblock %}
{% block meta_copydoc %}https://docs.google.com/document/d/1jc5DY4-9pDYQC04Egdt0If4_jrYn1mIBDwhJfILO46w/edit{% endblock %}

{% block content %}
<!-- Hero section -->
Expand Down
53 changes: 0 additions & 53 deletions templates/certified/hardware-details.html

This file was deleted.

33 changes: 33 additions & 0 deletions templates/certified/hardware-details/_hardware-table.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<div class="p-section--deep row">
<div class="col-9 col-start-large-4">
<hr class="p-rule" />
<table aria-label="Hardware details for {{ release_details.make }} {{ release_details.model }}">
<tbody>
{% for category, devices in hardware_details.items() %}
{% if category != "Other" %}
<tr>
<th colspan="3" class="u-text--muted">{{ category }}</th>
<td colspan="6">
<ul class="p-list u-no-margin--bottom">
{% for device in devices %}
<li class="p-list__item u-no-padding--top">
{{ device.name }}
{% if device.bus in ["usb", "pci"] %}
({{ device.identifier -}}
{% if device.subsystem %}
{{ device.subsystem -}}
{% endif %})
{% endif %}
</li>
{% endfor %}
</ul>
</td>
</tr>
{% endif %}
{% else %}
There are no hardware details available for this machine.
{% endfor %}
</tbody>
</table>
</div>
</div>
25 changes: 25 additions & 0 deletions templates/certified/hardware-details/_hero-section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<section class="p-section--hero">
<div class="row">
<div class="col-9 col-medium-4 col-start-medium-3 col-start-large-4">
<h1 class="p-muted-heading">
<a href="/certified/{{ category_pathname }}">{{ category_pathname }}</a> &rsaquo; <a href="/certified/platforms/{{ release_details.platform_id }}">{{ release_details.platform_name }}</a>
&rsaquo; <a href="/certified/{{ release_details.canonical_id }}"> {{ release_details.model }}</a>
</h1>
</div>
</div>
<div class="row">
<div class="col-3 col-medium-2 u-hide--small">
<div class="p-section--shallow">
{% with category=release_details.category %}
{% include "certified/shared/category-image.html" %}
{% endwith %}
</div>
</div>
<div class="col-9 col-medium-4">
<div class="p-section--shallow u-no-padding--bottom">
<h1 class="u-no-margin--bottom">{{ release_details.make }} {{ release_details.model }} certified on Ubuntu {{ release_details.certified_release }}</h1>
<h2>Hardware details</h2>
</div>
</div>
</div>
</section>
Loading
Loading