langflow/docs/docs
Lucas Oliveira 6b41460bf2
Fix and Enhance Modal, Button, and Layout Functionality (#2064)
#### Description

This pull request introduces several fixes and enhancements related to
modals, buttons, and layout elements within the application. The changes
improve the user experience by addressing bugs, enhancing functionality,
and refining UI components.

#### Summary of Changes

- **Modals:**
  - Added Submit buttons to every modal, except confirmation modals.
  - Fixed submitting issues on `storeApiKeyModal`.
  - Added a close button when the submit button is present.
  - Fixed padding on `deleteConfirmationModal`.

- **Node and Component Enhancements:**
  - Removed the pencil icon from the node name.
- Made node description editable by clicking once and changed the cursor
type.
  - Changed empty component behavior to open the New Project modal.
  - Fixed the node toolbar to allow moving the nodes.
  - Fixed Endpoint Name labeling.
  - Passed duplicate flow function to the main page.
  - Made folders visually more pleasing.
  - Fixed the tooltip that no longer needs removal of the portal.

- **UI and Layout Adjustments:**
  - Fixed bottom padding on settings pages.
  - Fixed scrolling not working in the global variables dropdown.
  - Disabled accordion when it is empty.
  - Removed shadow from card elements.
  - Added a description column to the advanced tab.
  - Implemented unselect on escape.
- Fixed classes and layout for sidebar buttons, ensuring they don't look
strange and behave consistently.
- Fixed button classes to allow loading indicators and ensure proper
sizing and functionality.
  - Modularized loading on buttons.

- **General Fixes and Improvements:**
  - Changed message of the terminal to "Run Langflow".
- Fixed save functionality to use user-provided API keys instead of
default ones.
- Ensured button components can handle multiple children and look
correct.
  - Added icons to various UI elements.
  - Fixed ID scrolling issue when clicking from Store.
  - Removed extra space caused by an unnecessary div element.
- Returned the loader to default settings and ensured buttons work with
`asChild`.

#### Additional Changes
- Merged the remote-tracking branch `origin/dev` into `fix/minor_bugs`
on multiple occasions to keep the branch up-to-date with the latest
developments.

#### Notes

- Please review the changes related to button classes carefully, as they
impact multiple components.
- Further UI enhancements are planned for the next iteration.
2024-06-05 19:14:32 +02:00
..
administration combine-global-env-docs 2024-06-04 15:21:24 -04:00
components Fix and Enhance Modal, Button, and Layout Functionality (#2064) 2024-06-05 19:14:32 +02:00
contributing title-case 2024-05-28 11:26:43 -04:00
deployment Fix GCP deploy buttons in GCP docs (#1702) 2024-04-16 13:58:22 -03:00
examples Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-05-31 20:55:38 -03:00
getting-started Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-05-31 20:55:38 -03:00
integrations/notion Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-05-31 20:55:38 -03:00
migration Fix and Enhance Modal, Button, and Layout Functionality (#2064) 2024-06-05 19:14:32 +02:00
starter-projects Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-05-31 20:55:38 -03:00
tutorials title-case 2024-05-28 11:26:43 -04:00
whats-new fix-links 2024-06-04 16:21:44 -04:00
index.mdx Merge remote-tracking branch 'origin/dev' into fix/minor_bugs 2024-06-04 14:25:51 -03:00