1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +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
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
segments
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
metrics.ts
server-impl.test.ts
server-impl.ts