1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00
unleash.unleash/src/lib
Thomas Heartman f55c67fe2e
1-1334: show short error message when validation fails (#4617)
The error message only tells the user that the name doesn't match the
pattern. Because we already show the pattern above the input, we don't
need to repeat it in the error message. This makes for a shorter and
more concise message and better UX.

At the same time, for API users, we can keep the more detailed message
that includes info about the pattern, the example, and the description.


![image](https://github.com/Unleash/unleash/assets/17786332/0492f2ad-810d-435e-bfe6-785afee96892)
2023-09-06 10:20:10 +00:00
..
__snapshots__ feat: feature naming patterns (#4591) 2023-09-04 11:53:33 +00:00
addons fix: Add feature environment variants updated event (#4598) 2023-09-01 16:54:09 +02:00
db 1-1333: fix type problems (#4615) 2023-09-06 12:13:48 +02:00
domain/project-health
error 1-1334: show short error message when validation fails (#4617) 2023-09-06 10:20:10 +00:00
features chore: strategy variant flag removed (#4603) 2023-09-04 13:15:54 +02:00
middleware chore: increase max app names to 1000 (#4421) 2023-08-04 15:03:21 +02:00
openapi 1-1319: add feature naming pattern descriptions (#4612) 2023-09-06 08:13:28 +00:00
proxy
routes feat: feature naming patterns (#4591) 2023-09-04 11:53:33 +00:00
schema chore: deprecate username on api-tokens (#3616) 2023-05-04 09:56:00 +02:00
segments feat: protect segment operations for change requests (#4417) 2023-08-04 12:23:19 +02:00
services 1-1334: show short error message when validation fails (#4617) 2023-09-06 10:20:10 +00:00
types 1-1333: fix type problems (#4615) 2023-09-06 12:13:48 +02:00
util feat: import service validate duplicates (#4558) 2023-08-24 10:05:21 +02:00
app.test.ts
app.ts
create-config.test.ts
create-config.ts feat: add request logger env variable (#4614) 2023-09-05 15:32:20 +01:00
default-custom-auth-deny-all.ts
internals.ts
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts feat: add prom metric for total custom root roles (#4435) 2023-08-07 14:59:29 +01:00
metrics.ts feat: add prom metric for total custom root roles in use (#4438) 2023-08-08 08:14:40 +01:00
server-impl.test.ts
server-impl.ts feat: disable scheduler for tests (#4496) 2023-08-15 15:58:36 +02:00