History

Checkpoint

Nathan Sobo committed 3 years ago

Commit 65c77651 parent e99f6c012 files · +78 −105Browse files

Unified · Split

12 files
  1. crates/gpui3/src/element.rs +12 −11
  2. crates/gpui3/src/elements/div.rs +9 −13
  3. crates/gpui3/src/elements/img.rs +5 −7
  4. crates/gpui3/src/elements/stateless.rs +3 −3
  5. crates/gpui3/src/elements/svg.rs +3 −3
  6. crates/gpui3/src/elements/text.rs +3 −4
  7. crates/gpui3/src/style.rs +1 −1
  8. crates/gpui3/src/taffy.rs +15 −23
  9. crates/gpui3/src/text_system/line.rs +6 −14
  10. crates/gpui3/src/view.rs +11 −6
  11. crates/gpui3/src/window.rs +7 −17
  12. crates/storybook2/src/theme.rs +3 −3
crates/gpui3/src/element.rs+12−11
@@ -1,4 +1,6 @@
1−use super::{Layout, LayoutId, Pixels, Point, Result, ViewContext};
1+use crate::Bounds;
2+
3+use super::{LayoutId, Pixels, Point, Result, ViewContext};
24 pub(crate) use smallvec::SmallVec;
35
46 pub trait Element: 'static {
@@ -13,7 +15,7 @@ pub trait Element: 'static { · 8 unmodified lines
1315
1416 fn paint(
1517 &mut self,
16− layout: Layout,
18+ bounds: Bounds<Pixels>,
1719 state: &mut Self::State,
1820 frame_state: &mut Self::FrameState,
1921 cx: &mut ViewContext<Self::State>,
@@ -65,7 +67,7 @@ enum ElementRenderPhase<S> { · 45 unmodified lines
6567 frame_state: S,
6668 },
6769 Painted {
68− layout: Layout,
70+ bounds: Bounds<Pixels>,
6971 frame_state: S,
7072 },
7173 }
@@ -105,24 +107,23 @@ impl<E: Element> ElementObject<E::State> for RenderedElement<E> { · 33 unmodified lines
105107 layout_id,
106108 mut frame_state,
107109 } => {
108− let mut layout = cx.layout(layout_id)?.clone();
109− offset.map(|offset| layout.bounds.origin += offset);
110− self.element
111− .paint(layout.clone(), state, &mut frame_state, cx)?;
110+ let mut bounds = cx.layout_bounds(layout_id)?.clone();
111+ offset.map(|offset| bounds.origin += offset);
112+ self.element.paint(bounds, state, &mut frame_state, cx)?;
112113 ElementRenderPhase::Painted {
113− layout,
114+ bounds,
114115 frame_state,
115116 }
116117 }
117118
118119 ElementRenderPhase::Painted {
119− layout,
120+ bounds,
120121 mut frame_state,
121122 } => {
122123 self.element
123− .paint(layout.clone(), state, &mut frame_state, cx)?;
124+ .paint(bounds.clone(), state, &mut frame_state, cx)?;
124125 ElementRenderPhase::Painted {
125− layout,
126+ bounds,
126127 frame_state,
127128 }
128129 }
crates/gpui3/src/elements/div.rs+9−13
@@ -1,6 +1,6 @@
11 use crate::{
2− AnyElement, Bounds, Element, Layout, LayoutId, Overflow, ParentElement, Pixels, Point,
3− Refineable, RefinementCascade, Result, Style, StyleHelpers, Styled, ViewContext,
2+ AnyElement, Bounds, Element, LayoutId, Overflow, ParentElement, Pixels, Point, Refineable,
3+ RefinementCascade, Result, Style, StyleHelpers, Styled, ViewContext,
44 };
55 use parking_lot::Mutex;
66 use smallvec::SmallVec;
@@ -40,31 +40,28 @@ impl<S: 'static + Send + Sync> Element for Div<S> { · 33 unmodified lines
4040
4141 fn paint(
4242 &mut self,
43− layout: Layout,
43+ bounds: Bounds<Pixels>,
4444 state: &mut S,
4545 child_layouts: &mut Self::FrameState,
4646 cx: &mut ViewContext<S>,
4747 ) -> Result<()> {
48− let Layout { order, bounds } = layout;
49−
5048 let style = self.computed_style();
51− cx.stack(0, |cx| style.paint(order, bounds, cx));
49+ cx.stack(0, |cx| style.paint(bounds, cx));
5250
5351 let overflow = &style.overflow;
5452 style.apply_text_style(cx, |cx| {
5553 cx.stack(1, |cx| {
56− style.apply_overflow(layout.bounds, cx, |cx| {
57− self.paint_children(overflow, state, cx)
58− })
54+ style.apply_overflow(bounds, cx, |cx| self.paint_children(overflow, state, cx))
5955 })
6056 })?;
61− self.handle_scroll(order, bounds, style.overflow.clone(), child_layouts, cx);
57+ self.handle_scroll(bounds, style.overflow.clone(), child_layouts, cx);
6258
6359 // todo!("enable inspector")
6460 // if cx.is_inspector_enabled() {
6561 // self.paint_inspector(parent_origin, layout, cx);
6662 // }
6763 //
64+
6865 Ok(())
6966 }
7067 }
@@ -139,7 +136,6 @@ impl<S: 'static> Div<S> { · 68 unmodified lines
139136
140137 fn handle_scroll(
141138 &mut self,
142− _order: u32,
143139 bounds: Bounds<Pixels>,
144140 overflow: Point<Overflow>,
145141 child_layout_ids: &[LayoutId],
@@ -148,8 +144,8 @@ impl<S: 'static> Div<S> { · 2 unmodified lines
148144 if overflow.y == Overflow::Scroll || overflow.x == Overflow::Scroll {
149145 let mut scroll_max = Point::default();
150146 for child_layout_id in child_layout_ids {
151− if let Some(child_layout) = cx.layout(*child_layout_id).log_err() {
152− scroll_max = scroll_max.max(&child_layout.bounds.lower_right());
147+ if let Some(child_bounds) = cx.layout_bounds(*child_layout_id).log_err() {
148+ scroll_max = scroll_max.max(&child_bounds.lower_right());
153149 }
154150 }
155151 scroll_max -= bounds.size;
crates/gpui3/src/elements/img.rs+5−7
@@ -1,6 +1,6 @@
11 use crate::{
2− BorrowWindow, Element, Layout, LayoutId, Result, SharedString, Style, StyleHelpers, Styled,
3− ViewContext,
2+ BorrowWindow, Bounds, Element, LayoutId, Pixels, Result, SharedString, Style, StyleHelpers,
3+ Styled, ViewContext,
44 };
55 use futures::FutureExt;
66 use refineable::RefinementCascade;
@@ -54,16 +54,14 @@ impl<S: Send + Sync + 'static> Element for Img<S> { · 47 unmodified lines
5454
5555 fn paint(
5656 &mut self,
57− layout: Layout,
57+ bounds: Bounds<Pixels>,
5858 _: &mut Self::State,
5959 _: &mut Self::FrameState,
6060 cx: &mut ViewContext<Self::State>,
6161 ) -> Result<()> {
6262 let style = self.computed_style();
63− let order = layout.order;
64− let bounds = layout.bounds;
6563
66− style.paint(order, bounds, cx);
64+ style.paint(bounds, cx);
6765
6866 if let Some(uri) = self.uri.clone() {
6967 let image_future = cx.image_cache.get(uri);
@@ -74,7 +72,7 @@ impl<S: Send + Sync + 'static> Element for Img<S> { · 4 unmodified lines
7472 {
7573 let corner_radii = style.corner_radii.to_pixels(bounds.size, cx.rem_size());
7674 cx.stack(1, |cx| {
77− cx.paint_image(bounds, corner_radii, order, data, self.grayscale)
75+ cx.paint_image(bounds, corner_radii, data, self.grayscale)
7876 })?;
7977 } else {
8078 cx.spawn(|_, mut cx| async move {
crates/gpui3/src/elements/stateless.rs+3−3
@@ -1,4 +1,4 @@
1−use crate::Element;
1+use crate::{Bounds, Element, Pixels};
22 use std::marker::PhantomData;
33
44 pub struct Stateless<E: Element<State = ()>, S> {
@@ -20,11 +20,11 @@ impl<E: Element<State = ()>, S: Send + Sync + 'static> Element for Stateless<E, · 15 unmodified lines
2020
2121 fn paint(
2222 &mut self,
23− layout: crate::Layout,
23+ bounds: Bounds<Pixels>,
2424 _: &mut Self::State,
2525 frame_state: &mut Self::FrameState,
2626 cx: &mut crate::ViewContext<Self::State>,
2727 ) -> anyhow::Result<()> {
28− cx.erase_state(|cx| self.element.paint(layout, &mut (), frame_state, cx))
28+ cx.erase_state(|cx| self.element.paint(bounds, &mut (), frame_state, cx))
2929 }
3030 }
crates/gpui3/src/elements/svg.rs+3−3
@@ -1,4 +1,4 @@
1−use crate::{Element, Layout, LayoutId, Result, SharedString, Style, StyleHelpers, Styled};
1+use crate::{Bounds, Element, LayoutId, Pixels, Result, SharedString, Style, StyleHelpers, Styled};
22 use refineable::RefinementCascade;
33 use std::marker::PhantomData;
44
@@ -41,7 +41,7 @@ impl<S: 'static> Element for Svg<S> { · 36 unmodified lines
4141
4242 fn paint(
4343 &mut self,
44− layout: Layout,
44+ bounds: Bounds<Pixels>,
4545 _: &mut Self::State,
4646 _: &mut Self::FrameState,
4747 cx: &mut crate::ViewContext<S>,
@@ -51,7 +51,7 @@ impl<S: 'static> Element for Svg<S> { · 3 unmodified lines
5151 {
5252 let fill_color = self.computed_style().fill.and_then(|fill| fill.color());
5353 if let Some((path, fill_color)) = self.path.as_ref().zip(fill_color) {
54− cx.paint_svg(layout.bounds, layout.order, path.clone(), fill_color)?;
54+ cx.paint_svg(bounds, path.clone(), fill_color)?;
5555 }
5656 Ok(())
5757 }
crates/gpui3/src/elements/text.rs+3−4
@@ -1,5 +1,5 @@
11 use crate::{
2− AnyElement, Element, IntoAnyElement, Layout, LayoutId, Line, Pixels, Result, Size, ViewContext,
2+ AnyElement, Bounds, Element, IntoAnyElement, LayoutId, Line, Pixels, Result, Size, ViewContext,
33 };
44 use parking_lot::Mutex;
55 use std::{marker::PhantomData, sync::Arc};
@@ -82,7 +82,7 @@ impl<S: 'static> Element for Text<S> { · 76 unmodified lines
8282
8383 fn paint<'a>(
8484 &mut self,
85− layout: Layout,
85+ bounds: Bounds<Pixels>,
8686 _: &mut Self::State,
8787 frame_state: &mut Self::FrameState,
8888 cx: &mut ViewContext<S>,
@@ -99,8 +99,7 @@ impl<S: 'static> Element for Text<S> { · 10 unmodified lines
9999 }
100100
101101 // todo!("We haven't added visible bounds to the new element system yet, so this is a placeholder.");
102− let visible_bounds = layout.bounds;
103− line.paint(&layout, visible_bounds, line_height, cx)?;
102+ line.paint(bounds, bounds, line_height, cx)?;
104103
105104 Ok(())
106105 }
crates/gpui3/src/style.rs+1−1
@@ -241,7 +241,7 @@ impl Style { · 240 unmodified lines
241241 }
242242
243243 /// Paints the background of an element styled with this style.
244− pub fn paint<V: 'static>(&self, order: u32, bounds: Bounds<Pixels>, cx: &mut ViewContext<V>) {
244+ pub fn paint<V: 'static>(&self, bounds: Bounds<Pixels>, cx: &mut ViewContext<V>) {
245245 let rem_size = cx.rem_size();
246246 let scale = cx.scale_factor();
247247
crates/gpui3/src/taffy.rs+15−23
@@ -1,6 +1,5 @@
11 use super::{
2− AbsoluteLength, Bounds, DefiniteLength, Edges, Layout, Length, Pixels, Point, Result, Size,
3− Style,
2+ AbsoluteLength, Bounds, DefiniteLength, Edges, Length, Pixels, Point, Result, Size, Style,
43 };
54 use collections::HashMap;
65 use std::fmt::Debug;
@@ -14,7 +13,7 @@ use taffy::{ · 7 unmodified lines
1413 pub struct TaffyLayoutEngine {
1514 taffy: Taffy,
1615 children_to_parents: HashMap<LayoutId, LayoutId>,
17− absolute_layouts: HashMap<LayoutId, Layout>,
16+ absolute_layout_bounds: HashMap<LayoutId, Bounds<Pixels>>,
1817 }
1918
2019 impl TaffyLayoutEngine {
@@ -22,7 +21,7 @@ impl TaffyLayoutEngine { · 1 unmodified line
2221 TaffyLayoutEngine {
2322 taffy: Taffy::new(),
2423 children_to_parents: HashMap::default(),
25− absolute_layouts: HashMap::default(),
24+ absolute_layout_bounds: HashMap::default(),
2625 }
2726 }
2827
@@ -76,19 +75,24 @@ impl TaffyLayoutEngine { · 47 unmodified lines
7675 Ok(())
7776 }
7877
79− pub fn layout(&mut self, id: LayoutId) -> Result<Layout> {
80− if let Some(layout) = self.absolute_layouts.get(&id).cloned() {
78+ pub fn layout_bounds(&mut self, id: LayoutId) -> Result<Bounds<Pixels>> {
79+ if let Some(layout) = self.absolute_layout_bounds.get(&id).cloned() {
8180 return Ok(layout);
8281 }
8382
84− let mut relative_layout: Layout = self.taffy.layout(id.into()).map(Into::into)?;
83+ let layout = self.taffy.layout(id.into())?;
84+ let mut bounds = Bounds {
85+ origin: layout.location.into(),
86+ size: layout.size.into(),
87+ };
88+
8589 if let Some(parent_id) = self.children_to_parents.get(&id).copied() {
86− let parent_layout = self.layout(parent_id)?;
87− relative_layout.bounds.origin += parent_layout.bounds.origin;
90+ let parent_bounds = self.layout_bounds(parent_id)?;
91+ bounds.origin += parent_bounds.origin;
8892 }
89− self.absolute_layouts.insert(id, relative_layout.clone());
93+ self.absolute_layout_bounds.insert(id, bounds);
9094
91− Ok(relative_layout)
95+ Ok(bounds)
9296 }
9397 }
9498
@@ -369,15 +373,3 @@ impl From<Pixels> for AvailableSpace { · 274 unmodified lines
369373 AvailableSpace::Definite(pixels)
370374 }
371375 }
372−
373−impl From<&taffy::tree::Layout> for Layout {
374− fn from(layout: &taffy::tree::Layout) -> Self {
375− Layout {
376− order: layout.order,
377− bounds: Bounds {
378− origin: layout.location.into(),
379− size: layout.size.into(),
380− },
381− }
382− }
383−}
crates/gpui3/src/text_system/line.rs+6−14
@@ -1,6 +1,6 @@
11 use crate::{
2− black, point, px, Bounds, FontId, Hsla, Layout, Pixels, Point, RunStyle, ShapedBoundary,
3− ShapedLine, ShapedRun, UnderlineStyle, WindowContext,
2+ black, point, px, Bounds, FontId, Hsla, Pixels, Point, RunStyle, ShapedBoundary, ShapedLine,
3+ ShapedRun, UnderlineStyle, WindowContext,
44 };
55 use anyhow::Result;
66 use smallvec::SmallVec;
@@ -90,15 +90,14 @@ impl Line { · 83 unmodified lines
9090 }
9191 }
9292
93− // todo!
9493 pub fn paint(
9594 &self,
96− layout: &Layout,
97− visible_bounds: Bounds<Pixels>,
95+ bounds: Bounds<Pixels>,
96+ visible_bounds: Bounds<Pixels>, // todo!("use clipping")
9897 line_height: Pixels,
9998 cx: &mut WindowContext,
10099 ) -> Result<()> {
101− let origin = layout.bounds.origin;
100+ let origin = bounds.origin;
102101 let padding_top = (line_height - self.layout.ascent - self.layout.descent) / 2.;
103102 let baseline_offset = point(px(0.), padding_top + self.layout.ascent);
104103
@@ -159,17 +158,10 @@ impl Line { · 54 unmodified lines
159158 }
160159
161160 if glyph.is_emoji {
162− cx.paint_emoji(
163− glyph_origin,
164− layout.order,
165− run.font_id,
166− glyph.id,
167− self.layout.font_size,
168− )?;
161+ cx.paint_emoji(glyph_origin, run.font_id, glyph.id, self.layout.font_size)?;
169162 } else {
170163 cx.paint_glyph(
171164 glyph_origin,
172− layout.order,
173165 run.font_id,
174166 glyph.id,
175167 self.layout.font_size,
crates/gpui3/src/view.rs+11−6
@@ -1,7 +1,7 @@
11 use parking_lot::Mutex;
22
33 use crate::{
4− AnyElement, Element, Handle, IntoAnyElement, Layout, LayoutId, Result, ViewContext,
4+ AnyElement, Bounds, Element, Handle, IntoAnyElement, LayoutId, Pixels, Result, ViewContext,
55 WindowContext,
66 };
77 use std::{any::Any, marker::PhantomData, sync::Arc};
@@ -67,7 +67,7 @@ impl<S: Send + Sync + 'static, P: Send + 'static> Element for View<S, P> { · 59 unmodified lines
6767
6868 fn paint(
6969 &mut self,
70− _: Layout,
70+ _: Bounds<Pixels>,
7171 _: &mut Self::State,
7272 element: &mut Self::FrameState,
7373 cx: &mut ViewContext<Self::State>,
@@ -81,7 +81,7 @@ trait ViewObject: Send + 'static { · 7 unmodified lines
8181 fn layout(&mut self, cx: &mut WindowContext) -> Result<(LayoutId, Box<dyn Any>)>;
8282 fn paint(
8383 &mut self,
84− layout: Layout,
84+ bounds: Bounds<Pixels>,
8585 element: &mut dyn Any,
8686 cx: &mut WindowContext,
8787 ) -> Result<()>;
@@ -97,7 +97,12 @@ impl<S: Send + Sync + 'static, P: Send + 'static> ViewObject for View<S, P> { · 9 unmodified lines
9797 })
9898 }
9999
100− fn paint(&mut self, _: Layout, element: &mut dyn Any, cx: &mut WindowContext) -> Result<()> {
100+ fn paint(
101+ &mut self,
102+ _: Bounds<Pixels>,
103+ element: &mut dyn Any,
104+ cx: &mut WindowContext,
105+ ) -> Result<()> {
101106 self.state.update(cx, |state, cx| {
102107 let element = element.downcast_mut::<AnyElement<S>>().unwrap();
103108 element.paint(state, None, cx)
@@ -124,12 +129,12 @@ impl<S: 'static> Element for AnyView<S> { · 20 unmodified lines
124129
125130 fn paint(
126131 &mut self,
127− layout: Layout,
132+ bounds: Bounds<Pixels>,
128133 _: &mut (),
129134 element: &mut Box<dyn Any>,
130135 cx: &mut ViewContext<Self::State>,
131136 ) -> Result<()> {
132− self.view.lock().paint(layout, element.as_mut(), cx)
137+ self.view.lock().paint(bounds, element.as_mut(), cx)
133138 }
134139 }
135140
crates/gpui3/src/window.rs+7−17
@@ -224,11 +224,11 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 223 unmodified lines
224224 .request_measured_layout(style, rem_size, measure)
225225 }
226226
227− pub fn layout(&mut self, layout_id: LayoutId) -> Result<Layout> {
227+ pub fn layout_bounds(&mut self, layout_id: LayoutId) -> Result<Bounds<Pixels>> {
228228 Ok(self
229229 .window
230230 .layout_engine
231− .layout(layout_id)
231+ .layout_bounds(layout_id)
232232 .map(Into::into)?)
233233 }
234234
@@ -262,7 +262,6 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 27 unmodified lines
262262 pub fn paint_glyph(
263263 &mut self,
264264 origin: Point<Pixels>,
265− order: u32,
266265 font_id: FontId,
267266 glyph_id: GlyphId,
268267 font_size: Pixels,
@@ -302,7 +301,7 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 33 unmodified lines
302301 self.window.scene.insert(
303302 layer_id,
304303 MonochromeSprite {
305− order,
304+ order: 0,
306305 bounds,
307306 content_mask,
308307 color,
@@ -316,7 +315,6 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 7 unmodified lines
316315 pub fn paint_emoji(
317316 &mut self,
318317 origin: Point<Pixels>,
319− order: u32,
320318 font_id: FontId,
321319 glyph_id: GlyphId,
322320 font_size: Pixels,
@@ -352,7 +350,7 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 29 unmodified lines
352350 self.window.scene.insert(
353351 layer_id,
354352 PolychromeSprite {
355− order,
353+ order: 0,
356354 bounds,
357355 corner_radii: Default::default(),
358356 content_mask,
@@ -367,7 +365,6 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 8 unmodified lines
367365 pub fn paint_svg(
368366 &mut self,
369367 bounds: Bounds<Pixels>,
370− order: u32,
371368 path: SharedString,
372369 color: Hsla,
373370 ) -> Result<()> {
@@ -394,7 +391,7 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 20 unmodified lines
394391 self.window.scene.insert(
395392 layer_id,
396393 MonochromeSprite {
397− order,
394+ order: 0,
398395 bounds,
399396 content_mask,
400397 color,
@@ -409,7 +406,6 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 8 unmodified lines
409406 &mut self,
410407 bounds: Bounds<Pixels>,
411408 corner_radii: Corners<Pixels>,
412− order: u32,
413409 data: Arc<ImageData>,
414410 grayscale: bool,
415411 ) -> Result<()> {
@@ -430,7 +426,7 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 14 unmodified lines
430426 self.window.scene.insert(
431427 order,
432428 PolychromeSprite {
433− order: 0, // Used in in Scene::batches. 0 has no meaning.
429+ order: 0,
434430 bounds,
435431 content_mask,
436432 corner_radii,
@@ -452,7 +448,7 @@ impl<'a, 'w> WindowContext<'a, 'w> { · 15 unmodified lines
452448 cx.window
453449 .layout_engine
454450 .compute_layout(root_layout_id, available_space)?;
455− let layout = cx.window.layout_engine.layout(root_layout_id)?;
451+ let layout = cx.window.layout_engine.layout_bounds(root_layout_id)?;
456452
457453 root_view.paint(layout, &mut (), &mut frame_state, cx)?;
458454 cx.window.root_view = Some(root_view);
@@ -786,9 +782,3 @@ pub struct AnyWindowHandle { · 327 unmodified lines
786782 pub(crate) id: WindowId,
787783 state_type: TypeId,
788784 }
789−
790−#[derive(Clone)]
791−pub struct Layout {
792− pub order: u32,
793− pub bounds: Bounds<Pixels>,
794−}
crates/storybook2/src/theme.rs+3−3
@@ -1,5 +1,5 @@
11 use gpui3::{
2− BorrowAppContext, Element, Hsla, Layout, LayoutId, Result, ViewContext, WindowContext,
2+ BorrowAppContext, Bounds, Element, Hsla, LayoutId, Pixels, Result, ViewContext, WindowContext,
33 };
44 use serde::{de::Visitor, Deserialize, Deserializer};
55 use std::{collections::HashMap, fmt};
@@ -160,7 +160,7 @@ impl<E: Element> Element for Themed<E> { · 154 unmodified lines
160160
161161 fn paint(
162162 &mut self,
163− layout: Layout,
163+ bounds: Bounds<Pixels>,
164164 state: &mut Self::State,
165165 frame_state: &mut Self::FrameState,
166166 cx: &mut ViewContext<Self::State>,
@@ -169,7 +169,7 @@ impl<E: Element> Element for Themed<E> { · 2 unmodified lines
169169 Self: Sized,
170170 {
171171 cx.with_state(self.theme.clone(), |cx| {
172− self.child.paint(layout, state, frame_state, cx)
172+ self.child.paint(bounds, state, frame_state, cx)
173173 })
174174 }
175175 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t