fix(store,audit,workspace): usertest low-findings tail (0.72.1)
Some checks failed
Security / Security check (push) Failing after 1s
Some checks failed
Security / Security check (push) Failing after 1s
- Store hero: 'TODAY' badge only for an operator-accepted story; the rotating compiled-in fallback deck now says 'FEATURED' (no false freshness claim). Policy as a top-level function with unit tests. - Audit filter chips: standard label typography instead of mono — mono stays reserved for paths and identifiers. - DE chain wording: 'Hash-Kette geprüft' as the one confirmation term (audit header now matches the doctor pill); 'intakt' stays the state headline. EN was already consistent. - Workspace switcher: contrast bump for the sealed-area 'stopped' label. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
6152c80c84
commit
ae8fdcc762
12 changed files with 69 additions and 9 deletions
15
test/store_today_badge_test.dart
Normal file
15
test/store_today_badge_test.dart
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import 'package:chain_studio/pages/store.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
group('store hero badge policy', () {
|
||||
test('a single operator-accepted story may claim TODAY', () {
|
||||
expect(storeDeckIsAcceptedToday(1), isTrue);
|
||||
});
|
||||
|
||||
test('the rotating fallback deck must not claim TODAY', () {
|
||||
expect(storeDeckIsAcceptedToday(2), isFalse);
|
||||
expect(storeDeckIsAcceptedToday(8), isFalse);
|
||||
});
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue