`conversation-activity-filter` - Move to top right by digvijay-555 · Pull Request #10187 · refined-github/refined-github · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/features/conversation-activity-filter.css
9 changes: 7 additions & 2 deletions source/features/conversation-activity-filter.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<script lang="ts">
import * as pageDetect from 'github-url-detection';
import CheckIcon from 'octicons-plain-react/Check';
import EyeIcon from 'octicons-plain-react/Eye';
import EyeClosedIcon from 'octicons-plain-react/EyeClosed';
import TriangleDownIcon from 'octicons-plain-react/TriangleDown';

import DomChef from '../components/dom-chef.svelte';
import url from '../components/url.js';
import {
activityFilterState,
type State,
Expand All @@ -24,7 +26,8 @@
}
</script>
<action-menu
class={`d-inline-block position-relative lh-condensed-ultra v-align-middle ${
hidden={!pageDetect.isConversation($url)}
Comment thread
digvijay-555 marked this conversation as resolved.
class={`position-relative lh-condensed-ultra v-align-middle ${
withMargin ? 'ml-2' : ''
}`}
data-select-variant="single"
Expand Down Expand Up @@ -111,7 +114,9 @@
</action-list>
</div>
{#if !isSmallDevice()}
<div class="Overlay-footer Overlay-footer--divided py-2 tmp-py-2">
<div
class="Overlay-footer Overlay-footer--divided py-2 tmp-py-2 text-body f6 text-normal"
>
<span class="color-fg-muted">
Press <kbd>h</kbd> to cycle through filters,
<br />
Expand Down
12 changes: 5 additions & 7 deletions source/features/conversation-activity-filter.tsx
Loading