Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work in progress: Implement MIN_CANVAS_SPACE #799

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

fatih-erikli
Copy link
Collaborator

Fixes #786.

@justvanrossum
Copy link
Collaborator

The test failure is something I get regularly, and seems to be a glitch. Re-running the failed job usually succeeds. Do you have a clue what could be causing it?

@fatih-erikli fatih-erikli marked this pull request as draft September 13, 2023 13:12
@@ -54,7 +55,7 @@ import {
import { staticGlyphToGLIF } from "../core/glyph-glif.js";
import { pathToSVG } from "../core/glyph-svg.js";
import { parseClipboard } from "../core/server-utils.js";
import Sidebar from "./sidebar.js";
import Sidebar, { MAX_SIDEBAR_WIDTH, MIN_SIDEBAR_WIDTH } from "./sidebar.js";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we turn Sidebar into a "regular" export, instead of a default export? I would love the import line to read like this:

Suggested change
import Sidebar, { MAX_SIDEBAR_WIDTH, MIN_SIDEBAR_WIDTH } from "./sidebar.js";
import { Sidebar, MAX_SIDEBAR_WIDTH, MIN_SIDEBAR_WIDTH } from "./sidebar.js";

@fatih-erikli
Copy link
Collaborator Author

The test failure is something I get regularly, and seems to be a glitch. Re-running the failed job usually succeeds. Do you have a clue what could be causing it?

Unit tests? Usually arrayExtend fails. I will try to understand next time it fails.

@fatih-erikli fatih-erikli changed the title Work in progress: Implement MIN_CONTENT_SPACE Work in progress: Implement MIN_CANVAS_SPACE Sep 13, 2023
@fatih-erikli fatih-erikli marked this pull request as ready for review September 13, 2023 14:26
Copy link
Collaborator

@justvanrossum justvanrossum left a comment

Choose a reason for hiding this comment

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

Thanks!

@justvanrossum justvanrossum merged commit 4f270af into main Sep 13, 2023
3 checks passed
@justvanrossum justvanrossum deleted the issue-786-alternative-solution branch September 13, 2023 14:48
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.

Have the width of left and right panels respond to browser size
2 participants