Commit 5332f22
committed
feat(ai-chat): flash keyboard shortcut hints on textarea focus
Show "Press Enter to send · Shift+Enter for new line" with styled kbd
elements in the permission bar when the chat textarea receives focus.
Hint fades in and auto-dismisses after 4 seconds, restoring the
permission mode info text. Renamed .ai-permission-info to .ai-info
and added min-height to prevent layout shift from kbd elements.1 parent 5db9fda commit 5332f22
2 files changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
| 2089 | + | |
2089 | 2090 | | |
2090 | 2091 | | |
2091 | 2092 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
| 1720 | + | |
| 1721 | + | |
1721 | 1722 | | |
1722 | 1723 | | |
1723 | 1724 | | |
| |||
1751 | 1752 | | |
1752 | 1753 | | |
1753 | 1754 | | |
1754 | | - | |
| 1755 | + | |
1755 | 1756 | | |
1756 | 1757 | | |
1757 | 1758 | | |
| |||
1761 | 1762 | | |
1762 | 1763 | | |
1763 | 1764 | | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1764 | 1783 | | |
1765 | 1784 | | |
1766 | | - | |
| 1785 | + | |
1767 | 1786 | | |
1768 | 1787 | | |
1769 | 1788 | | |
1770 | 1789 | | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
1771 | 1795 | | |
1772 | 1796 | | |
1773 | 1797 | | |
| |||
0 commit comments