Skip to content

Implement backend part of the layer selection - #172

Merged
TrueDoctor merged 2 commits into
masterfrom
rust-layer-selection
Jun 9, 2021
Merged

Implement backend part of the layer selection#172
TrueDoctor merged 2 commits into
masterfrom
rust-layer-selection

Conversation

@TrueDoctor

@TrueDoctorTrueDoctor commented Jun 9, 2021

Copy link
Copy Markdown
Member

Prerequisite for #166


This change is Reviewable

@cloudflare-workers-and-pages

cloudflare-workers-and-pagesBot commented Jun 9, 2021

Copy link
Copy Markdown

Deploying with Cloudflare Pages Cloudflare Pages

Latest commit:6efb8fd
Status: ✅ Deploy successful!
Preview URL:https://d7a02d4f.graphite-master.pages.dev

View logs

@KeavonKeavon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewable status: 0 of 11 files reviewed, 1 unresolved discussion (waiting on @TrueDoctor)


client/web/wasm/src/document.rs, line 109 at r1 (raw file):

/// Update the list of selected layers. The layer paths have to be stored in one array and are separated by LayerId::MAX
#[wasm_bindgen]
pub fn select_layer(paths: Vec<LayerId>) -> Result<(), JsValue> {

Rename select_layers?

@TrueDoctorTrueDoctor left a comment

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Reviewable status: 0 of 11 files reviewed, 1 unresolved discussion (waiting on @Keavon)


client/web/wasm/src/document.rs, line 109 at r1 (raw file):

Previously, Keavon (Keavon Chambers) wrote…

Rename select_layers?

Done.

@TrueDoctor
TrueDoctor merged commit 8fa4b86 into masterJun 9, 2021
@TrueDoctor
TrueDoctor deleted the rust-layer-selection branch June 9, 2021 10:20
TrueDoctor added a commit that referenced this pull request Jun 9, 2021
* Implement backend part of the layer selection
Change arg to IconButton component
Add basic layer selection mechanism
Almost good version
Clean up print statements and add some comments
Simplified the layer selection mechanism
Remove redundant rule for 'no-param-reassign'
Keavon pushed a commit that referenced this pull request Jul 30, 2023
* Implement backend part of the layer selection
Sign up for freeto 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

@TrueDoctor@Keavon