clients/libs/angular/src
Jared Snider 76e0ee1b33
Auth/Innovation/PM-4659 - Device Management - Add Last Activity Date (#19784)
* PM-4659 - Refactor DeviceView and add lastActivityDate to DeviceResponse

Adds lastActivityDate (nullable) to DeviceResponse for backwards compatibility
with older server versions. Cleans up DeviceView by removing the response
sub-property escape hatch and declaring all properties directly on the view.

* PM-4659 - Add PM4516_DevicesLastActivityDate feature flag

Adds feature flag and its DefaultFeatureFlagValue entry (defaults to false).

* PM-4659 - Refactor sort utils: rename, restructure, and add sortDevicesWithActivity

Renames resort-devices.helper.ts to utils/device-sort.utils.ts and renames all
functions (resort → sort). Adds sortDevicesWithActivity with the new sort order:
current session → pending requests → most recently active → first login fallback.
Adds full test coverage for all three exported functions.

* PM-4659 - Add recently active display to device management

Adds 'Recently active' column/row to the device management table and item group
views, gated on the PM4516_DevicesLastActivityDate feature flag. Includes a pure
getDeviceLastActivityDateI18nKey utility that maps last activity dates to i18n
keys using calendar-day comparison in the user's local timezone (Math.round for
DST safety). Adds i18n keys for all activity buckets to web and browser locales.

* PM-4659 - DeviceManagement - split into two sections to play around with refactoring the layout.

* PM-4659 - DeviceManagementItemGroupComp - refactor to meet figma better

* PM-4659 - DeviceManagementTable - fix recent activity sort.

* PM-4659 - Device Management Item Group Comp - add missing margin top

* PM-4659 - Add tech debt todo for device sort

* PM-4659 - Guard against future lastActivityDate due to server clock skew

* PM-4659 - DeviceManagment - RecentActivitySort updated to separate func, updated logic per dicussion with product, and wrote tests for the sort.

* PM-4659 - Tiny clean up items

* PM-4659 - Device Sort - recentlyActiveSortFn - update docs

* PM-4659 - Upsert lastActivityDate and recentlyActiveText when pending auth request arrives for known device

* PM-4659 - Reset table sort to default when a pending auth request arrives

* PM-4659 - getDeviceLastActivityDateI18nKey - add more test scenarios

* PM-4659 - Update recentlyActive i18n keys and messages to use explicit rolling-window labels (Past 7/14/30 days)

* PM-4659 - Show isTrusted status for pending auth request devices in showRecentlyActive block
2026-04-16 13:32:44 -04:00
..
admin-console [PM-26383] Remove feature flag to enable autoconfirm (#20015) 2026-04-09 15:36:38 -04:00
auth Auth/Innovation/PM-4659 - Device Management - Add Last Activity Date (#19784) 2026-04-16 13:32:44 -04:00
billing [CL-1130] Fix storybook a11y and console errors for billing files (#19916) 2026-04-10 12:50:40 -04:00
components/modal [PM-29565] Delete deprecated callout component (#17895) 2025-12-11 14:38:33 +01:00
directives [PM-33006] Convert JslibModule declares to standalone (#19316) 2026-03-03 10:41:17 +01:00
key-management/encrypted-migration [CL-1063] add enforce-readonly-angular-properties ESLint rule (#19201) 2026-03-09 10:26:42 -07:00
pipes Remove unused ColorPasswordCountPipe and ColorPasswordPipe (#19345) 2026-03-05 08:56:31 +01:00
platform [PM-33006] Convert JslibModule declares to standalone (#19316) 2026-03-03 10:41:17 +01:00
scss [CL-1023][CL-1031] Design system refresh: Milestone 1 (#19061) 2026-03-25 10:55:06 -05:00
services [PM-30584] Add unlock for key connector with SDK (#19367) 2026-04-14 11:08:02 +09:00
tools [CL-966] Updated Progress Component (#19072) 2026-04-15 12:51:57 -07:00
types [EC-7] Org Admin Vault Refresh Client V1 (#3925) 2022-11-02 09:57:25 -07:00
utils feat(2FA-UI-Refresh): [Auth/PM-8113] - 2FA Components Consolidation and UI Refresh (#12087) 2025-02-24 09:59:14 -05:00
vault [PM-19168] Remove Archive Feature Flag (#19829) 2026-03-30 10:23:38 -05:00
jslib.module.ts Remove NotPremiumDirective from jslib.module (#19287) 2026-03-11 17:46:12 +01:00