Git Product home page Git Product logo

Comments (10)

DavidTanner avatar DavidTanner commented on July 21, 2024

Use the skip tests phrase in the pr description. You can set it to be whatever you want in the regex.

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on July 21, 2024

Sorry, did that answer your question?

from ghprb-plugin.

peymano avatar peymano commented on July 21, 2024

I added "[skip ci]" to the PR's description and I'm still seeing builds & tests run after each commit.

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on July 21, 2024

can you post here one of the descriptions?

from ghprb-plugin.

peymano avatar peymano commented on July 21, 2024

We are updating the app to the new font styles.

Today, we have approx. 200 places in code, where we load the font by calling UIFont fontWithName:size. The sizes don't map perfectly to the new styles. For each occurrence, we need to decide on the mapping, build it, find it in the app, correct it if needed and so forth. I've tried going down this path and it's very time consuming. I'd like to cap this effort to roughly 1 week.

So here's the plan I'm going with (I'm currently on 3):

  1. I've defined preferred font styles that we'll use exclusively going forward when implementing new features (see: Add preferred font styles commit).
  2. I've replaced all the occurrences of the calls to UIFont fontWithName:size to one of the calls we'll use for style exceptions e.g. cz_regularFontWithSize:, cz_mediumFontWithSize:, cz_mediumItalicFontWithSize: etc.
  3. I'll fix up the calls above to make the app look good (based on Holly's and my own discretion), but I'll use the new styles only in the few major areas e.g. list headers, text body etc.
  4. If 3) doesn't take too much time (say 2-3 days), Holly and I will spend another day or two to migrate key modules (Meds, Inbox) to use the new styles exclusively.

I know everyone has an option on this, so this is your chance to voice it. See UIFont+CZFont.m to see where I'm going with this.

If you run a build from this branch, you can tap the ADD A NEW PERSON button to see Font Guideline view that Holly and I used to finesse the fonts so that they appear almost identical to the ones used in PhotoShop. Unfortunately size X in PS is not size X on the actual device. Also, kerning is just very slightly off between the two.

[skip ci]

/cc: @peymano @wesgibbs @yas375

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on July 21, 2024

I believe you have found a bug. Something in the code isn't adding up.

from ghprb-plugin.

peymano avatar peymano commented on July 21, 2024

We're running 1.16-8.

Settings:
image

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on July 21, 2024

Looks to be because of the newline characters? Not sure. I will investigate and see if I can get a patch out today.

from ghprb-plugin.

DavidTanner avatar DavidTanner commented on July 21, 2024

For now you can add (?s) to the skip phrase and see if that works.

As per the documentation:

DOTALL
public static final int DOTALL
Enables dotall mode.
In dotall mode, the expression . matches any character, including a line terminator. By default this expression does not match line terminators.
Dotall mode can also be enabled via the embedded flag expression (?s). (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)

from ghprb-plugin.

peymano avatar peymano commented on July 21, 2024

Thanks @DavidTanner

from ghprb-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.