From 84128052c02fdfcd10ac7b7bd25fb375905294de Mon Sep 17 00:00:00 2001 From: Liz MacLean <18120837+lizziemac@users.noreply.github.com> Date: Tue, 9 Apr 2024 05:56:56 -0400 Subject: [PATCH] feat: Add descriptions for each panel in CollectionSettings (#2031) * Add descriptions for each panel in CollectionSettings * Revert index.js Leftover change from when i was putzing around --- .../src/components/CollectionSettings/Auth/index.js | 6 +++++- .../CollectionSettings/ClientCertSettings/index.js | 10 +++++----- .../src/components/CollectionSettings/Headers/index.js | 3 ++- .../src/components/CollectionSettings/Info/index.js | 1 + .../src/components/CollectionSettings/Presets/index.js | 9 ++++++--- .../CollectionSettings/ProxySettings/index.js | 4 ++-- .../src/components/CollectionSettings/Script/index.js | 5 ++++- .../src/components/CollectionSettings/Tests/index.js | 1 + .../src/components/CollectionSettings/index.js | 4 +--- 9 files changed, 27 insertions(+), 16 deletions(-) diff --git a/packages/bruno-app/src/components/CollectionSettings/Auth/index.js b/packages/bruno-app/src/components/CollectionSettings/Auth/index.js index c874e2782..aa608ef6e 100644 --- a/packages/bruno-app/src/components/CollectionSettings/Auth/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/Auth/index.js @@ -37,7 +37,11 @@ const Auth = ({ collection }) => { }; return ( - + +
+ Configures authentication for the entire collection. This applies to all requests using the 'Inherit' option in + the 'Auth' tab, as well as any new requests added to this collection. +
diff --git a/packages/bruno-app/src/components/CollectionSettings/ClientCertSettings/index.js b/packages/bruno-app/src/components/CollectionSettings/ClientCertSettings/index.js index ef751fe6c..084e4acee 100644 --- a/packages/bruno-app/src/components/CollectionSettings/ClientCertSettings/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/ClientCertSettings/index.js @@ -30,13 +30,13 @@ const ClientCertSettings = ({ clientCertConfig, onUpdate, onRemove }) => { }; return ( - -
- Client Certificates -
+ +
Add client certificates to be used for specific domains.
+ +

Client Certificates

    {!clientCertConfig.length - ? 'None' + ? 'No client certificates added' : clientCertConfig.map((clientCert) => (
  • diff --git a/packages/bruno-app/src/components/CollectionSettings/Headers/index.js b/packages/bruno-app/src/components/CollectionSettings/Headers/index.js index 9ce78bc1c..91639b392 100644 --- a/packages/bruno-app/src/components/CollectionSettings/Headers/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/Headers/index.js @@ -63,7 +63,8 @@ const Headers = ({ collection }) => { }; return ( - + +
    Add request headers that will be sent with every request in this collection.
    diff --git a/packages/bruno-app/src/components/CollectionSettings/Info/index.js b/packages/bruno-app/src/components/CollectionSettings/Info/index.js index ce608920b..d0685ebc0 100644 --- a/packages/bruno-app/src/components/CollectionSettings/Info/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/Info/index.js @@ -23,6 +23,7 @@ function countRequests(items) { const Info = ({ collection }) => { return ( +
    General information about the collection.
    diff --git a/packages/bruno-app/src/components/CollectionSettings/Presets/index.js b/packages/bruno-app/src/components/CollectionSettings/Presets/index.js index 503090abd..474fdf0b5 100644 --- a/packages/bruno-app/src/components/CollectionSettings/Presets/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/Presets/index.js @@ -27,8 +27,10 @@ const PresetsSettings = ({ collection }) => { }); return ( - -

    Collection Presets

    + +
    + These presets will be used as the default values for new requests in this collection. +