OpenAgentsInc / openagents

An open agents platform (wip)
https://openagents.com
GNU Affero General Public License v3.0
159 stars 18 forks source link

Enhancement: Add user menu to more pages #446

Open dekdynamics opened 1 month ago

dekdynamics commented 1 month ago

Hi Team,

Currently, the user menu only appears in the top right corner of https://openagents.com/chat*

If you navigate to:

https://openagents.com/my-agents https://openagents.com/wallet https://openagents.com/settings

The menu is gone and you have to go back to chat to see it.

Could the user menu be added as a permanent fixture so it appears on every page?

Or perhaps move it to the bottom left where there are other permanent links.

greptile-apps[bot] commented 1 month ago

To add the user menu to more pages, follow these steps:

  1. Open resources/views/components/layouts/app.blade.php.
  2. Add @include('components.user-menu') where you want the user menu to appear.

For specific pages:

  1. Open resources/views/livewire/settings.blade.php.

  2. Add @include('components.user-menu') at the desired location.

  3. Open resources/views/livewire/my-agents-screen.blade.php.

  4. Add @include('components.user-menu') at the desired location.

  5. Open resources/views/livewire/wallet-screen.blade.php.

  6. Add @include('components.user-menu') at the desired location.

References

/resources/views/components/user-menu.blade.php /resources/views/components/layouts /resources/views/livewire /resources/views/livewire/settings.blade.php

Ask Greptile