Deb Archive#528
Draft
ethanashaw wants to merge 32 commits intomainfrom
Draft
Conversation
## Summary This PR covers [this Jira ticket](https://warthogs.atlassian.net/browse/LNDENG-4039) The backend was never providing an alerts array on the individual `GET /computers/:id` request. So the UI was always showing `Online` status for machines. The change was mainly backend related. Now I added a `with_alerts` flag to the endpoint to fetch that information. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [x] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary Added `AGENTS.md` file to replace `copilot-instructions`. This file should be compatible with different agents, and explain our project in more detail so we can use agents to contribute faster in our codebase. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [ ] **UI Verified**: I have verified the changes locally. - [ ] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
) ## Summary Converts all ambient `.d.ts` declaration files in `src/` to regular `.ts` modules (163 files), and fixes the TypeScript errors that surfaced as a result. Ephemeral `.module.scss.d.ts` files generated by `tcm` are intentionally left as-is. ### TS1205 — `export type` in index files (137 errors) `isolatedModules: true` requires `export type` syntax for type-only re-exports. All 23 `types/index.ts` barrel files updated. ### TS2459 — missing `export` on locally-declared types (18 errors) Types that were declared without `export` (invisible outside the module in `.ts` but silently ambient in `.d.ts`): `PackageChanges`, `PocketInfo`, `ScheduleWindow`, `DeliveryWindow`, `DelayWindow`, `EmployeeActionParams`, `MirrorPocket`, `PullPocket`, two `FormProps`, `Constraint`, `Attachment`. ### TS2307 — broken import paths (3 errors) Paths that resolved to `any` under `skipLibCheck`: - `./Creator` → `@/types/Creator` in `Activity.ts` - `./api/ApiError` → `./ApiError` in `QueryFnType.ts` - Removed non-existent `CommonPackagesActionParams` import; `InstalledPackagesActionForm/types.ts` now declares its fields directly ### TS2724 — unexported named members (3 errors) Added `export` to `ProviderConfiguration`, `PocketPackageName`, `PocketPackageVersion`. ### TS2430 / TS2312 — invalid interface extension (6 errors) Interfaces extending union types or widening inherited properties can't use `interface extends`. Converted to `type` aliases/intersections: - `WithMetadata<T>` → `T & { metadata: … }` - `InstanceColumn` → `Column<Instance> & { … }` - `CommonPocket` — `Partial<PocketLastSyncProps>` is a union-of-partials, which distributes into a union under intersection and breaks react-table's `Column<D>` constraint. Replaced with a mapped `PartialLastSyncProps` that flattens the discriminated union into a single optional-property object type - `FormProps` in removal-profiles and upgrade-profiles — overrode conflicting field types via `Omit` + type intersection ### TS2304 / TS2503 / TS2552 — missing imports (5 errors) - `SelectOption.label` was `ReactNode` (previously `any` due to missing import); changed to `string` to match `@canonical/react-components` `Option` and `MultiSelectItem` contracts - Added `import * as Yup from "yup"` in `EditSnap/types.ts` - Added `SelectOption` import in `UseGPGKeysOptionsResult.ts` - Added `CreateScriptParams` to `RunInstanceScriptForm/types.ts` imports (was referenced but never imported; effectively `any` before) ### TS2731 / TS2538 — symbol/number in `keyof` (5 errors) `keyof Record<string, unknown>` = `string | number` (numeric coercion on string-indexed objects). `String(prop)` wrappers and `key as string` casts are required when passing `keyof Constraint` to Formik's `setFieldValue(field: string, …)` and index expressions. ### Test handler fixes `creator: undefined` in MSW mock handlers replaced with `{ email: "", id: 0, name: "" }` — `Creator` is now properly typed as non-optional. ## Release Impact - **Target Branch**: `dev` - **Version Impact**: - [ ] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [ ] **UI Verified**: I have verified the changes locally. - [ ] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ethanashaw <189650945+ethanashaw@users.noreply.github.com> Co-authored-by: Ethan Shaw <ethan.shaw@canonical.com>
## Summary The shut down and restart modals would not close after submitting. Now, you can also specify the delivery time for the instances page actions. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [x] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary This PR is related to [this Jira ticket](https://warthogs.atlassian.net/browse/LNDENG-4050) Additionally it fixes this UI bug that is not shown in that ticket: <img width="2078" height="935" alt="image" src="https://github.com/user-attachments/assets/c0582c8b-1ea6-419f-9620-17562cfbea81" /> ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [x] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
…ts (#539) ## Summary This item is related to [this Jira ticket](https://warthogs.atlassian.net/browse/LNDENG-4081). Moving all loading elements to use `LoadingState` (with inline or without it) makes it easier to maintain in the codebase. This is just a refactor and doesnt introduce new behavior ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary Previously, switching the user's organization via the OrganisationSwitch component wouldn't update in the UI until the user navigated to a new page, or refreshed the page. Fixed by keeping authUser in the cache before refetching queries. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [X] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [X] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [X] **UI Verified**: I have verified the changes locally. - [X] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
This pull request introduces support for "point" branches, enabling the
creation and deployment of pinned beta releases based on specific
commits and cherry-picked fixes. The changes update the release
workflow, versioning logic, and documentation to clarify how and when to
use these point releases.
**Release workflow and branching strategy updates:**
* The `.github/workflows/release-and-build.yml` workflow now triggers on
pushes to `point/**` branches and treats them as beta releases,
deploying to the `ppa-build` target.
[[1]](diffhunk://#diff-f2835b43bdce313fb566e57a07425b551df5a05cf100af870ab5779713ed3659L5-R5)
[[2]](diffhunk://#diff-f2835b43bdce313fb566e57a07425b551df5a05cf100af870ab5779713ed3659L32-R32)
* The `scripts/calculate-version.cjs` script is updated to generate beta
version numbers for `point/` branches, matching the format used for
`main`.
**Documentation improvements:**
* `RELEASES.md` now documents the new `point/YYYY-MM-DD` branch type,
its purpose, and how it fits into the overall branching strategy.
* A detailed example workflow ("Example C: Shipping a Pinned Beta") is
added to `RELEASES.md`, explaining how to create, use, and retire point
branches for targeted beta releases.## Summary
Summarize the changes made in this pull request. Include any relevant
context or background information that would help reviewers understand
the purpose and scope of the changes.
## Release Impact
According to the [Landscape Server Release Cycle
This pull request introduces support for "point" branches, which enable
the creation of pinned beta releases based on specific commits and
cherry-picked fixes. The changes update the branching strategy
documentation, CI workflow, and version calculation logic to recognize
and handle `point/YYYY-MM-DD` branches as beta releases. This allows for
more flexible and controlled beta releases without disrupting ongoing
development on `main`.
**Branching and Release Process Updates:**
* Updated the documented branching strategy in `RELEASES.md` to include
`point/YYYY-MM-DD` as a new branch type for pinned beta releases,
clarifying its purpose and deployment target.
* Added a detailed example workflow in `RELEASES.md` for creating and
managing point releases, including branch creation, cherry-picking, and
cleanup instructions.
**CI/CD and Versioning Enhancements:**
* Modified the GitHub Actions workflow in
`.github/workflows/release-and-build.yml` to trigger on pushes to
`point/**` branches, ensuring CI builds are run for point releases.
* Updated the build destination logic in the workflow so that builds
from `main` or any `point/**` branch are deployed to the `ppa-build`
beta channel.
* Adjusted the version calculation script
(`scripts/calculate-version.cjs`) to treat `point/` branches like
`main`, assigning them a beta version
suffix.](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0),
this change will target the following release cycle:
- **Target Branch**: `dev` / `main` (Beta)
- **Version Impact**:
- [ ] Patch (Fix)
- [ ] Minor (Feature)
- [ ] Major (Breaking)
## Checklist
- [ ] **Changeset Added**: I have run `pnpm changeset` and committed the
resulting `.md` file.
- [ ] **UI Verified**: I have verified the changes locally.
- [ ] **Linting**: No linting errors are present (especially in
`scripts/`).
## Versioning Reminder
> [!IMPORTANT]
> This repository now uses **CalVer** ($YY.0M.Point.Patch$).
> Please ensure your changeset description is clear, as it will be
automatically added to the `CHANGELOG.md` upon merging to `main`.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## landscape-ui@26.04.0.70 # Landscape Lifecycle Transition (February 2026) _Note: starting from this point, Landscape UI follows the Landscape Server Release Specification (CalVer YY.MM.Point.Patch)._ * * * # [1.23.0](v1.22.0...v1.23.0) (2026-01-08) ### Bug Fixes - add missing ubuntu pro info ([#426](#426)) ([425b1c7](425b1c7)) - change cve links to ubuntu.com ([#384](#384)) ([fabf4d0](fabf4d0)) - Instance page filters changes ([#432](#432)) ([57914ed](57914ed)) - prevent submitting login form twice if error occurs ([#438](#438)) ([5b1fbd9](5b1fbd9)) - remove access group field from edit mode in profiles ([#434](#434)) ([00ec586](00ec586)) - revert TagMultiSelect component ([#424](#424)) ([c132b71](c132b71)) - wsl profile remove tags ([#407](#407)) ([776ab31](776ab31)) ### Features - add associated instance links for upgrade and removal profiles ([#404](#404)) ([e8a92d7](e8a92d7)) - add warnings for wsl profiles ([#416](#416)) ([b2e3efe](b2e3efe)) - allow wsl profiles to use only_landscape_created ([#401](#401)) ([99b5ea0](99b5ea0)) - improve saved searches user experience ([#430](#430)) ([c63c1a5](c63c1a5)) - rename instance statuses ([#417](#417)) ([0324c54](0324c54)) - update confirmation modal for deleting access group ([#431](#431)) ([3ac0310](3ac0310)) # [1.22.0](v1.21.0...v1.22.0) (2025-10-24) ### Bug Fixes - pnpm-lock ([b43af61](b43af61)) - prevent infinite request loop in security profiles page ([#394](#394)) ([2be0483](2be0483)) ### Features - implement pro token attach and detach ([#395](#395)) ([d3995f9](d3995f9)) # [1.21.0](v1.20.0...v1.21.0) (2025-10-14) ### Bug Fixes - revert ppa build action ([#391](#391)) ([5e25323](5e25323)) ### Features - implement account creation and invitation page ([#390](#390)) ([4654a00](4654a00)) # [1.20.0](v1.19.0...v1.20.0) (2025-10-09) ### Bug Fixes - delete wsl children ([#388](#388)) ([454c770](454c770)) ### Features - packages tab empty state ([#380](#380)) ([da17f13](da17f13)) - update feedback link ([a471849](a471849)) # [1.19.0](v1.18.2...v1.19.0) (2025-09-16) ### Features - associated apt sources can be deleted ([#346](#346)) ([b37dd2b](b37dd2b)) ## [1.18.2](v1.18.1...v1.18.2) (2025-09-12) ### Bug Fixes - instances can run scripts with a timeout ([#352](#352)) ([895032f](895032f)) - wsl profile expandable cells can open individually [LNDENG-3116]([#351](#351)) ([a86705b](a86705b)) ## [1.18.1](v1.18.0...v1.18.1) (2025-09-03) ### Bug Fixes - remove autoinstall file field from employees ([#344](#344)) ([27d6ef5](27d6ef5)) # [1.18.0](v1.17.0...v1.18.0) (2025-08-29) ### Bug Fixes - disable root_only for instances ([#319](#319)) ([1d4109e](1d4109e)) - submit button in multi select dropdown footer not working ([#327](#327)) ([364f914](364f914)) ### Features - add hostname and tags to instances list ([#333](#333)) ([3d99f1b](3d99f1b)) - add profile links [LNDENG-2865]([#309](#309)) ([8238e8f](8238e8f)) # [1.17.0](v1.16.0...v1.17.0) (2025-08-05) ### Bug Fixes - show correct duplicates count along with pending instances ([#308](#308)) ([239205b](239205b)) - show loading state while loading a page for the first time ([#312](#312)) ([30cd296](30cd296)) ### Features - compliance checks for WSL profiles ([#285](#285)) ([bdcaa0f](bdcaa0f)) - implement attach page ([#300](#300)) ([170576f](170576f)) - make authentication experience changes ([#299](#299)) ([9220dec](9220dec)) - minor wsl changes ([#318](#318)) ([ec6040f](ec6040f)) # [1.16.0](v1.15.0...v1.16.0) (2025-07-22) ### Bug Fixes - prevent api credentials page from going beyond the bottom ([dfce7ab](dfce7ab)) - provide correct 'copy_from' param when duplicating a package profile ([99420c8](99420c8)) - removal profiles and upgrade profiles can be edited [LNDENG-2858]([#303](#303)) ([771248b](771248b)) ### Features - use new endpoint for tags modal ([#298](#298)) ([5e503c1](5e503c1)) # [1.15.0](v1.14.1...v1.15.0) (2025-07-21) ### Bug Fixes - allow copy-and-paste in text confirmation modals ([#302](#302)) ([5fc76ff](5fc76ff)) - remove extra security profile api call ([#296](#296)) ([5c57469](5c57469)) - show scripts warning ([#293](#293)) ([3ae8b19](3ae8b19)) ### Features - add dark mode ([#297](#297)) ([7b584ef](7b584ef)) - add disa stig consent banner when enabled ([#295](#295)) ([455e3eb](455e3eb)) - add support provider login page ([#294](#294)) ([527292e](527292e)) ## [1.14.1](v1.14.0...v1.14.1) (2025-07-01) ### Bug Fixes - show scripts warning ([#293](#293)) ([6a96a14](6a96a14)) # [1.14.0](v1.13.2...v1.14.0) (2025-06-19) ### Bug Fixes - make instance table filters responsive ([#283](#283)) ([9996c1e](9996c1e)) - script profile forms can show errors ([#282](#282)) ([f01b673](f01b673)) ### Features - add associated instances links for profiles ([#281](#281)) ([2d1be1b](2d1be1b)) ## [1.13.2](v1.13.1...v1.13.2) (2025-06-16) ### Bug Fixes - add missing toast notifications, add actions to activities panel ([#265](#265)) ([77d2ffa](77d2ffa)) - align custom table filters action functionalities ([#257](#257)) ([91fe46a](91fe46a)) - allow empty array params in legacy API ([4d28411](4d28411)) - applying monospacing to table column dates ([#269](#269)) ([1c7b748](1c7b748)) - change instance tabs depending on distributor [LNDENG-2513]([#272](#272)) ([4ec5881](4ec5881)) - clear selection on filter change ([#271](#271)) ([ab8602b](ab8602b)) - close single filter when clicking any option ([e50c565](e50c565)) - disable invalid activity actions ([#248](#248)) ([6ee0fa9](6ee0fa9)) - invalid livepatch expiry date ([#267](#267)) ([e60eecc](e60eecc)) - last audit's passrate bar ([#266](#266)) ([11a5c72](11a5c72)) - make tables responsive ([#280](#280)) ([89ea1d9](89ea1d9)) - make tags cell expandable for each profile ([#261](#261)) ([89c8ae1](89c8ae1)) - overview buttons ([#255](#255)) ([7925995](7925995)) - remove errors when logging in ([#246](#246)) ([0b34ab8](0b34ab8)) - responsive issues with button groups, sidebar and overview page ([#277](#277)) ([6eee676](6eee676)) - set minimum interval for security profile ([#274](#274)) ([ba8107b](ba8107b)) - show correct status for archived instances ([#247](#247)) ([d9b7251](d9b7251)) - show Identity Providers in sidebar when OIDC is available ([4bfa6de](4bfa6de)) - truncated cell shows count when it shouldn't, adjust truncated info item ([#270](#270)) ([81ce636](81ce636)) - wrong ubuntu pro info date showing on non-ubuntu linux instances ([#275](#275)) ([13e091b](13e091b)) ## [1.13.1](v1.13.0...v1.13.1) (2025-05-15) ### Bug Fixes - add empty state to instance hardware panel ([55fbf2d](55fbf2d)) - make forms in modals submittable by pressing enter ([c6e6c96](c6e6c96)) - remove access group select, filter by access group ([#241](#241)) ([cdf185e](cdf185e)) - restore APT sources for SaaS environment ([da81756](da81756)) - security profile audits ([43eaf7b](43eaf7b)) - security profile time zones and schedule, extra info in requests, add tests ([4679e89](4679e89)) # [1.13.0](v1.12.5...v1.13.0) (2025-04-29) ### Bug Fixes - adding contextual menu to Scripts ([#215](#215)) ([967ef4a](967ef4a)) - google auth provider icon ([1ba2a4b](1ba2a4b)) - move security issues table pagination to bottom ([#231](#231)) ([6c608b6](6c608b6)) - production bug during login ([51e64ab](51e64ab)) - redirect on refresh ([#210](#210)) ([ea42ad8](ea42ad8)) - upgrade and downgrade kernel forms not scheduling correctly ([79b1f85](79b1f85)) ### Features - add archived status in instances page ([bca548a](bca548a)) - add employees page; add sanitize action to single instance; add identity issuers ([96a9275](96a9275)) - add reboot profiles ([#102](#102)) ([c437490](c437490)) - add security profiles ([a5e77a2](a5e77a2)) - implement event based script execution ([9067514](9067514)) - implement feature availability checks to trigger some UI elements visibility ([614e98b](614e98b)) - remove sentry plugin ([5d7f700](5d7f700)) ## [1.12.5](v1.12.4...v1.12.5) (2025-03-05) ### Bug Fixes - diff pull pocket crash ([#199](#199)) ([6bb4076](6bb4076)) - make apt sources pages available for self-hosted env only ([27ac98f](27ac98f)) - make apt sources pages available for self-hosted env only ([#201](#201)) ([bfb8b30](bfb8b30)) ## [1.12.4](v1.12.3...v1.12.4) (2025-02-12) ### Bug Fixes - enable instance upgrades button without upgrade count ([#188](#188)) ([0f7a8b9](0f7a8b9)) - prevent page from crashing when subdomain account is default one ([b74b8a9](b74b8a9)) ## [1.12.3](v1.12.2...v1.12.3) (2025-02-06) ### Bug Fixes - display all instance packages ([#185](#185)) ([58789e2](58789e2)) ## [1.12.2](v1.12.1...v1.12.2) (2025-02-05) ### Bug Fixes - table pagination disappearing briefly when going to next page on instances page ([c92e7db](c92e7db)) ## [1.12.1](v1.12.0...v1.12.1) (2025-02-05) ### Bug Fixes - activities page header help icon misalignment ([#181](#181)) ([ee9c985](ee9c985)) - remove instance upgrades column ([#183](#183)) ([807ff6c](807ff6c)) - show features for ubuntu core instances ([#182](#182)) ([c2c156f](c2c156f)) # [1.12.0](v1.11.1...v1.12.0) (2025-02-03) ### Bug Fixes - change events days filter to display label, remove events table sorting, change "events log message" to "message" ([7d02a6b](7d02a6b)) - disable option to run scripts on windows instances ([#152](#152)) ([e3dae02](e3dae02)) - improve page number input validation ([#175](#175)) ([1272a8a](1272a8a)) - modal closing when trying to remove saved search ([cd98b10](cd98b10)) - prevent double redirection while signing in ([e90e0f1](e90e0f1)) - remove '\\r' characters from script code if present ([#167](#167)) ([b4314c4](b4314c4)) ### Features - add ability to assign tags to the selected instances ([#166](#166)) ([c95e517](c95e517)) - add error boundaries, connect Sentry service ([a6fd328](a6fd328)) - add search chip to all pages with search, add query param validation ([9d77f75](9d77f75)) - add table sorting to url ([15d094f](15d094f)) ## [1.11.1](v1.11.0...v1.11.1) (2025-01-07) ### Bug Fixes - update react-components to 1.7.3 ([#153](#153)) ([88b14fd](88b14fd)) # [1.11.0](v1.10.0...v1.11.0) (2024-12-16) ### Bug Fixes - add overview page lazy queries ([4375ebd](4375ebd)) - broken link in alerts notification page ([2b9504f](2b9504f)) - change HTTP method to change organisation preferences ([868a812](868a812)) - remove access group dropdown from edit package profile form ([#155](#155)) ([053e5b4](053e5b4)) - show empty cell in activity table when activity has no related instance ([23ae288](23ae288)) - unify empty state in profiles empty state ([5845267](5845267)) ### Features - add instances column to access groups ([#137](#137)) ([9632989](9632989)) - change event log page filter ([#139](#139)) ([ace8ab6](ace8ab6)) - hide 'View report' button on instances page ([2d762ad](2d762ad)) - show organisation label instead of switch if user has only one ([#147](#147)) ([0539efa](0539efa)) # [1.10.0](v1.9.1...v1.10.0) (2024-12-05) ### Bug Fixes - add loading state during first render ([5928f61](5928f61)) - instance distribution info can be null ([#142](#142)) ([8536044](8536044)) ### Features - add search as a filter chip ([e6c118c](e6c118c)) - add welcome popup and info badge into sidebar ([#144](#144)) ([0115e73](0115e73)) ## [1.9.1](v1.9.0...v1.9.1) (2024-12-02) ### Bug Fixes - add component to render while redirecting ([89c8640](89c8640)) # [1.9.0](v1.8.1...v1.9.0) (2024-11-25) ### Bug Fixes - change instance column filter ([f81e6b8](f81e6b8)) - encode redirection path URL param ([2f31515](2f31515)) ### Features - add ability to assign access group for multiple instances ([#138](#138)) ([a899f6d](a899f6d)) - add activities page filters ([#132](#132)) ([e38c721](e38c721)) - add version number to sidebar ([7de1392](7de1392)) ## [1.8.1](v1.8.0...v1.8.1) (2024-11-20) ### Bug Fixes - add default supported provider ([aaece65](aaece65)) - add environment context loading state ([62263fd](62263fd)) - kernel tab page crash for machines with no cve fixes, improve livepatch coverage info text ([c87d1d8](c87d1d8)) # [1.8.0](v1.7.6...v1.8.0) (2024-11-12) ### Features - enable repository profiles, GPG keys and APT sources for SaaS ([b8ff2b1](b8ff2b1)) ## [1.7.6](v1.7.5...v1.7.6) (2024-11-08) ### Bug Fixes - get instance OS from distribution info property ([cb4eedb](cb4eedb)) - show wsl profiles for self hosted only ([#130](#130)) ([8bbf5f6](8bbf5f6)) ## [1.7.5](v1.7.4...v1.7.5) (2024-11-05) ### Bug Fixes - update support link ([2d36c12](2d36c12)) ## [1.7.4](v1.7.3...v1.7.4) (2024-11-01) ### Bug Fixes - handle request params for the old fetch if user is not presented ([c021434](c021434)) ## [1.7.3](v1.7.2...v1.7.3) (2024-10-31) ### Bug Fixes - change link component import in alert notifications ([#125](#125)) ([13726aa](13726aa)) ## [1.7.2](v1.7.1...v1.7.2) (2024-10-30) ### Bug Fixes - available package version not showing in package install form ([#124](#124)) ([092fee0](092fee0)) - show 'no login methods' only when appropriate ([a1d4417](a1d4417)) ## [1.7.1](v1.7.0...v1.7.1) (2024-10-29) ### Bug Fixes - allow selecting public GPG keys when adding a new APT source ([2b6a979](2b6a979)) - kernel panel error when kernel status is undefined ([#123](#123)) ([5ee63b4](5ee63b4)) # [1.7.0](v1.6.0...v1.7.0) (2024-10-24) ### Bug Fixes - add Kernel tab title and border above table section ([#122](#122)) ([9bffb93](9bffb93)) ### Features - add endpoint to get auth state using http cookie, drop local storage using to store auth user ([eebf9db](eebf9db)) # [1.6.0](v1.5.0...v1.6.0) (2024-10-23) ### Bug Fixes - change sign in form identity validation ([24f60ab](24f60ab)) - handle trailing slash in root path, change default page redirect after signing in ([e8ac8e3](e8ac8e3)) ### Features - add badge to Kernel tab ([#120](#120)) ([103b45d](103b45d)) - add standalone OIDC ([00ddfd6](00ddfd6)) # [1.5.0](v1.4.3...v1.5.0) (2024-10-15) ### Bug Fixes - remove sign in form email validation, rename 'email' field into 'identity' ([9e529f9](9e529f9)) ### Features - add availability zones to instances; change instance filters layout ([#104](#104)) ([b2a8e1d](b2a8e1d)) - add dev PPA build to build workflow ([#109](#109)) ([75af5f9](75af5f9)) - add Kernel tab in single instance view ([5244f93](5244f93)) ## [1.4.3](v1.4.2...v1.4.3) (2024-10-10) ### Bug Fixes - close modal window after accepting or rejecting pending instances, style: change auth template styles ([e96df23](e96df23)) ## [1.4.2](v1.4.1...v1.4.2) (2024-10-08) ### Bug Fixes - repository profile showing for saas version ([9f8e205](9f8e205)) ## [1.4.1](v1.4.0...v1.4.1) (2024-10-08) ### Bug Fixes - secondary navigation not appearing for account settings ([846215a](846215a)) # [1.4.0](v1.3.0...v1.4.0) (2024-10-07) ### Features - add custom SSO providers: Okta and Ubuntu One ([03437ce](03437ce)) # [1.3.0](v1.2.1...v1.3.0) (2024-10-03) ### Bug Fixes - use default icon for unknown alert type ([901e6b7](901e6b7)) ### Features - add new child instance alert ([5b2342b](5b2342b)) ## [1.2.1](v1.2.0...v1.2.1) (2024-09-27) ### Bug Fixes - bug causing switching organisations not to work ([89728bd](89728bd)) # [1.2.0](v1.1.0...v1.2.0) (2024-09-23) ### Bug Fixes - show "Reboot recommended" instance status correctly ([4c12910](4c12910)) ### Features - implement WSL profiles page ([#108](#108)) ([9336864](9336864)) # [1.1.0](v1.0.0...v1.1.0) (2024-09-10) ### Features - add changelog ([54cfcb2](54cfcb2)) [LNDENG-3116]: https://warthogs.atlassian.net/browse/LNDENG-3116?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
## Summary More information on this PR can be found in [this Jira ticket](https://warthogs.atlassian.net/browse/LNDENG-4066) Additional [Jira ticket 3880 covered here](https://warthogs.atlassian.net/browse/LNDENG-3880) Other than the changes requested there the following were also added: - Fixed long sidepanel title causing sidepanel to be horizontally scrollable - Fixed bug causing side navigation bar to be visible (not hidden behind the modal) when script modals were opened - Added `tags` column to "Run script" preview modal, before it showed just "Instance" column: <img width="2070" height="1152" alt="image" src="https://github.com/user-attachments/assets/97b6cdb2-5115-444d-b707-699db5299a38" /> - Changed modal pagination to new `ModalTablePagination` component ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [x] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary Adds support for the v2 deletion endpoint. I forked off Ethan's [branch](#540) and changed a couple lines as a result of the manual testing. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [x] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: Ethan Shaw <ethan.shaw@canonical.com>
test: add tests for all non profile related files with under 60% coverage (#537) This PR adds code coverage for all non profile related files with under 60% coverage. According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [ ] **UI Verified**: I have verified the changes locally. - [ ] **Linting**: No linting errors are present (especially in `scripts/`). > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary This ticket covers [this Jira ticket](https://warthogs.atlassian.net/browse/LNDENG-4188) Additionally, since "activities" feature was touched, I also refactored the `useActivities` hook to separate api hooks under the `/api` folder. The commits are organized for a quicker review. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [x] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [x] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
Rebase deb-archive with changes from main.
…ist from testing elements
## Summary Summarize the changes made in this pull request. Include any relevant context or background information that would help reviewers understand the purpose and scope of the changes. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [ ] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [ ] **UI Verified**: I have verified the changes locally. - [ ] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`.
## Summary Summarize the changes made in this pull request. Include any relevant context or background information that would help reviewers understand the purpose and scope of the changes. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [x] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [ ] **UI Verified**: I have verified the changes locally. - [ ] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: Copilot <copilot@github.com>
## Summary Adding local repositories page and side panels. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [x] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [ ] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [x] **UI Verified**: I have verified the changes locally. - [x] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: Marc Bucchieri <marc.bucchieri@canonical.com>
Tests for mirrors page Also fixed profile side panel tests, which weren't updated to use the newly renamed `name` param --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Publication links open in a new tab - Uses text confirmation <img width="757" height="562" alt="image" src="https://github.com/user-attachments/assets/60b725fc-6acf-47e4-a660-c3cac5eb9d26" /> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
## Summary Add the Repository Profiles page to the deb-archive branch. [Resolves this ticket](https://warthogs.atlassian.net/browse/LNDENG-4315). Incorporates components from [feat/standardize-profiles](#508) but will also cause conflicts with that branch since both modify /features/repository-profiles. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `deb-archive` - **Version Impact**: - [ ] Patch (Fix) - [X] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [X] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [X] **UI Verified**: I have verified the changes locally. - [X] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: Copilot <copilot@github.com>
## Summary Created new page at /repositories/publication-targets with UI matching the design file. Since no API endpoints exist yet all /publicationTargets and /publications endpoints should be mocked. PublicationsTable will need to be updated with links to individual publications and sources once those pages are added. Leaving as a draft so we can decide whether to merge in to deb-archive now or wait for those changes. ## Release Impact According to the [Landscape Server Release Cycle](https://docs.google.com/document/d/1sKAp5IvArpfArhMNojFwKOHm9LEdHKB4Et6tu1_-0GY/edit?tab=t.0), this change will target the following release cycle: - **Target Branch**: `dev` / `main` (Beta) - **Version Impact**: - [ ] Patch (Fix) - [X] Minor (Feature) - [ ] Major (Breaking) ## Checklist - [X] **Changeset Added**: I have run `pnpm changeset` and committed the resulting `.md` file. - [X] **UI Verified**: I have verified the changes locally. - [X] **Linting**: No linting errors are present (especially in `scripts/`). ## Versioning Reminder > [!IMPORTANT] > This repository now uses **CalVer** ($YY.0M.Point.Patch$). > Please ensure your changeset description is clear, as it will be automatically added to the `CHANGELOG.md` upon merging to `main`. --------- Co-authored-by: Rubin Aga <rubin.aga@canonical.com> Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement Deb Archive designs
Release Impact
According to the Landscape Server Release Cycle, this change will target the following release cycle:
dev/main(Beta)Checklist
pnpm changesetand committed the resulting.mdfile.scripts/).Versioning Reminder
Important
This repository now uses CalVer ($YY.0M.Point.Patch$ ).
Please ensure your changeset description is clear, as it will be automatically added to the
CHANGELOG.mdupon merging tomain.