Skip to content

feat: add session structure to impersonation functionality#356

Open
celikerde wants to merge 3 commits into
12.xfrom
feat/add-session-structure-to-impersonation-functionality
Open

feat: add session structure to impersonation functionality#356
celikerde wants to merge 3 commits into
12.xfrom
feat/add-session-structure-to-impersonation-functionality

Conversation

@celikerde

@celikerde celikerde commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Types of changes

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Description

Related Issue

@unusual-enterprise unusual-enterprise changed the base branch from 0.x to 12.x May 15, 2026 13:21
@unusual-enterprise unusual-enterprise changed the title Feat/add session structure to impersonation functionality feat: add session structure to impersonation functionality May 15, 2026
@unusual-enterprise unusual-enterprise changed the base branch from 12.x to 0.x May 15, 2026 13:40
celikerde added 3 commits May 18, 2026 15:37
- Added functionality to track recently impersonated users, limiting the count to a maximum of 5.
- Introduced a new method `pushRecentImpersonation` to manage the recent impersonation stack in the session.
- Updated the ImpersonateToolbar component to accept a `recent` prop for displaying recent impersonations.

These changes enhance the user experience by allowing easy access to recently impersonated users.
…sonations retrieval

- Refactored the `get_modularous_impersonation_config` function to improve readability by introducing variables for active and impersonating states.
- Added a new function `get_modularous_recent_impersonations` to retrieve recently impersonated users from the session, enhancing the impersonation tracking feature.
- This update improves the structure and maintainability of the impersonation logic while providing better access to recent impersonation data.
- Introduced a new `recentItems` prop to the Browser component, allowing users to see recently accessed items.
- Implemented logic to display recent items when no other results are available, improving the default view of the dialog.
- Added a visual indicator for recent items in the list, enhancing usability and clarity for users.
- Updated the search behavior to reset to recent items when the search input is cleared, ensuring a seamless user experience.
@celikerde celikerde force-pushed the feat/add-session-structure-to-impersonation-functionality branch from dce7db8 to 94793ac Compare May 18, 2026 12:45
@celikerde celikerde changed the base branch from 0.x to 12.x May 18, 2026 12:49

@oguzhanbukcuoglu oguzhanbukcuoglu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good, but it might conflict with changes at #360, so be careful at the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants