Coder Social home page Coder Social logo

orbiting / publikator-frontend Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 1.0 20.23 MB

[DEPRECATED] moved to https://github.com/republik/plattform Our CMS frontend, including a rich text editor implemented with Slate.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 99.84% Shell 0.16%
cms slate slate-react text-editor

publikator-frontend's Introduction

[DEPRECATED] Publikator Frontend

⚠️ This repository together with others has been merged into the republik/plattform monorepo. Let's continue the journey there. ⚠️

A CMS prototype: an Editor implemented with Slate and saving content on GitHub via an API.

Development code names: Mauka, Haku

Usage

Quick start

This frontend needs an API, provided by publikator-backend, running on the same TLD (for cookie sharing).

Install and run:

npm install
npm run dev

Environment

You can use a git-excluded .env file in development.

Bootstrap your .env file:

cp .env.example .env

Make sure to adapt GITHUB_ORG to the GITHUB_LOGIN used in the backend env.

Piwik

You can enable tracking by setting a base url and site id:

PIWIK_URL_BASE=https://piwik.example.com
PIWIK_SITE_ID=1

Theming

Your logo, fonts and colors? See orbiting/styleguide

Linking the Styleguide

Want to change code in the styleguide and preview how it looks and behaves here?

Here are the steps:

cd ../styleguide
npm i
npm link

cd ../publikator-frontend
npm i
# deeply link styleguide and some peers
# and add a tmp preinstall script to unlink
npm run sg:link

# do your work

# simply run npm install to unlink
# rm the links and the tmp preinstall script
# reinstall stuff via npm
npm i

Why? glamor, react and react-dom use singletons. And peerDependencies are not flattened when npm linked—two versions with their own singletons end up running. While linked this way those packages are linked to the styleguide node_modules folder.

Templates

You can limit the available templates:

TEMPLATES=newsletter,neutrum

Default is all.

Repo Prefix

You can prefix all repos name on creation:

REPO_PREFIX=newsletter-

Default is none.

Will be combined with template specific prefixes.

License

The source code is «BSD 3-clause» licensed.

publikator-frontend's People

Contributors

annatraussnig avatar clarajeanne avatar dependabot[bot] avatar felixmichel avatar fuenkchen avatar garamond avatar lukasbuenger avatar ovbm avatar patrickvenetz avatar patte avatar tpreusse avatar trm217 avatar uxengine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

thommymo

publikator-frontend's Issues

Unable to reach publish button in Firefox

Bug Report

I can not reach publish button in Firefox. Dev console says button is there.

Bildschirmaufnahme.2021-04-28.um.15.18.41.mov

Steps to Reproduce

  1. Preview document to publish in Firefox

Actual Results

I can not scroll to publish button.

Expected Results

I can scroll to publish button.

Environment

  • OS: MacOS 11.2
  • Browser: Firefox 88.0 (64-Bit)

Clean Schema API

Currently we have following schema related code:

The serializer cascade and plugin collection combine code from a set of editor modules.

Now the goal is to come up with a cleaner api, dry up the code (single source of rendering truth) and enable quick development of multiple templates. E.g. by auto generating an editor configuration like components/editor/NewsletterEditor.js from a schema.

Additionally a positive side effect could be that the editor becomes more schema context aware and only displays format buttons when they are supported at that document position.

Update: 24.05.2018 replace master with 9adb73d in links

Publish action throws server error

Error: Network error: query option is required. You must specify your GraphQL document in the query option.

The document gets still published though.

Copy-Paste-Behavior

Bug Report

Copy and paste is severely broken. Pasting plain text works but insert empty paragraphs in-between. Copy and pasting within a document only works for text selections (single paragraph). Trying to copy & paste multiple blocks does not work or lead to an unexpected error.

Steps to Reproduce

One example:

  • create two paragraphs in info box
  • copy them
  • paste
  • nothing happens

Stuck in screen size preview mode

Bug Report

Preview container remains visible when change is aborted while «Workflow» tab in sidebar becomes focused again.

Steps to Reproduce

  1. Open Publikator with a user without «Producer» role
  2. Open an already published document, hit «Bearbeiten»
  3. Switch to screen size preview mode in «Ansicht» and click on e.g. «Tablet»
  4. Then hit revert link («Abbrechen»)

Actual Results

Sidebar activates «Workflow» tab but keeps screen size preview container rendered.

Bildschirmaufnahme.2021-03-29.um.09.26.50.mov

Expected Results

Editor container is shown.

Last Teaser-URL seen in side bar render as place holder

Bug Report

URL input field in side bar contains previous, last Teaser-URL when editing a new Teaser.

This leads to bad judgments in production when checking if URLs are set.

Steps to Reproduce

  1. Open (or create) a front (document based on front template)
  2. Add a new "Front Tile Row" with 2 teasers
  3. Fill in data from an existing article in left teaser
  4. Click onto left teaser to see data in side bar
  5. Click then onto right teaser

Actual Results

Side bar shows URL linked from left teaser in input field as a place holder in Teaser-URL

bildschirmfoto 2019-02-26 um 17 00 49

Expected Results

Side bar shows blank input field (with label as place holder) in Teaser-URL

bildschirmfoto 2019-02-26 um 17 03 15

Environment

  • OS: OSX 10.13.6
  • Browser: Chrome 72 (72.0.3626.119)

Author Box

Feature Request

Reasoning:

Mein Wunsch: Ich hätte gerne die Angaben zur Autorin, zum Autor (den unverlinkten unter ihnen) ganz zu Beginn des jeweiligen Beitrags und nicht an dessen Ende.
Ich möchte gerne zuerst wissen, mit wem ich es zu tun habe und so wie das jetzt gestaltet ist, muss ich mich jeweils endlos nach unten scrollen bevor ich mit lesen beginnen kann - nach dem wieder-hoch-scrollen ...

Gibt's da Abhilfe? Wäre perfekt...

Possible Solutions

  • anchors links (down and up)
  • collapsible author boxs
  • special author model on name click

Branching off not rendered

Bug Report

Branching off occured but was not visible in tree view of an article.

Actual Results

Bildschirmfoto 2019-05-31 um 12 40 10

Expected Results

Bildschirmfoto 2019-05-31 um 12 39 53

Environment

  • OS: OSX 10.13.6
  • Browser: Chrome Version 74.0.3729.169

Data Fragments

query repoWithHistory($repoId: ID!, $first: Int!, $after: String) {
  repo(id: $repoId) {
    id
    isArchived
    commits(first: $first, after: $after) {
      pageInfo {
        hasNextPage
        endCursor
        __typename
      }
      nodes {
        ...SimpleCommit
        __typename
      }
      __typename
    }
    milestones {
      ...SimpleMilestone
      __typename
    }
    __typename
  }
}

fragment SimpleMilestone on Milestone {
  name
  message
  immutable
  commit {
    id
    __typename
  }
  author {
    email
    name
    __typename
  }
  __typename
}

fragment SimpleCommit on Commit {
  id
  message
  parentIds
  date
  author {
    email
    name
    __typename
  }
  __typename
}

Variables:

{
  "repoId": "***",
  "first": 20
}

Result:

{
  "data": {
    "repo": {
      "id": "***",
      "isArchived": false,
      "commits": {
        "pageInfo": {
          "hasNextPage": true,
          "endCursor": "2019-05-29T15:58:21Z",
          "__typename": "PageInfo"
        },
        "nodes": [
          {
            "id": "47357ecfc0c3b6ad565bc0d52d5be34e5eefabad",
            "message": "datenbox",
            "parentIds": [
              "0dfef369546b9c81ce7746848d9d7ed0aab31c6b"
            ],
            "date": "2019-05-31T10:00:39.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "0dfef369546b9c81ce7746848d9d7ed0aab31c6b",
            "message": "grafiken ok",
            "parentIds": [
              "cfccc141bc5f488e6462346870b66d603af614c0"
            ],
            "date": "2019-05-31T09:59:03.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "fee98162bfd9cb6b472f6eef637d5c483afd9ef8",
            "message": "produziert",
            "parentIds": [
              "cfccc141bc5f488e6462346870b66d603af614c0"
            ],
            "date": "2019-05-31T09:01:34.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "B*** H***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "cfccc141bc5f488e6462346870b66d603af614c0",
            "message": "go Korrektorat - Grafiken müssen noch ferttigemancht werden",
            "parentIds": [
              "0f5ac6bd9dca8fa27b105c6c19a96408820555cb"
            ],
            "date": "2019-05-31T08:03:17.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "0f5ac6bd9dca8fa27b105c6c19a96408820555cb",
            "message": "charts 1-3",
            "parentIds": [
              "0d4329957dff2582052917a2d90a79a0d494eb1b"
            ],
            "date": "2019-05-31T07:53:51.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "310fb89a6649913edd5a4057391b35424ba3a7cf",
            "message": "übergang wärmekarte und letzte Kaltzeit",
            "parentIds": [
              "0d4329957dff2582052917a2d90a79a0d494eb1b"
            ],
            "date": "2019-05-31T07:53:31.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "A*** B***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "0d4329957dff2582052917a2d90a79a0d494eb1b",
            "message": "wip",
            "parentIds": [
              "ac059348cf06a88a43c2ffa580c5d18c3b14d0f7"
            ],
            "date": "2019-05-31T07:27:49.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "ac059348cf06a88a43c2ffa580c5d18c3b14d0f7",
            "message": "wip",
            "parentIds": [
              "04a3745214f0783c46971bb053b995f3d7eac82f"
            ],
            "date": "2019-05-31T07:18:33.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "04a3745214f0783c46971bb053b995f3d7eac82f",
            "message": "text 1",
            "parentIds": [
              "af98600597c7817eebba164991fc6668e704db63"
            ],
            "date": "2019-05-31T07:12:38.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "af98600597c7817eebba164991fc6668e704db63",
            "message": "update",
            "parentIds": [
              "757d0ed001334ee0cf77fa5feb3bda96563dff2a"
            ],
            "date": "2019-05-30T18:53:45.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "A*** B***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "abc1073b7410399c9830cb9182c634903aaee9a6",
            "message": "grafikfarben",
            "parentIds": [
              "757d0ed001334ee0cf77fa5feb3bda96563dff2a"
            ],
            "date": "2019-05-30T13:47:31.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "757d0ed001334ee0cf77fa5feb3bda96563dff2a",
            "message": "an Arian",
            "parentIds": [
              "84ba70f42cbc598ec134a06b3b721b6ab8fda83f"
            ],
            "date": "2019-05-30T13:28:54.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "84ba70f42cbc598ec134a06b3b721b6ab8fda83f",
            "message": "wip",
            "parentIds": [
              "6d2a88385caa053a4e24cf6430a173921542f1aa"
            ],
            "date": "2019-05-30T12:53:08.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "6d2a88385caa053a4e24cf6430a173921542f1aa",
            "message": "new charts",
            "parentIds": [
              "a3a55bf3aaa486b0f9208d084faa0c49aeca5db1"
            ],
            "date": "2019-05-30T12:33:43.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "a3a55bf3aaa486b0f9208d084faa0c49aeca5db1",
            "message": "wip",
            "parentIds": [
              "195681a40cf4d5a02cf384964afcc05f6914e07e"
            ],
            "date": "2019-05-30T11:17:18.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "195681a40cf4d5a02cf384964afcc05f6914e07e",
            "message": "wip",
            "parentIds": [
              "12623de489c6af59d5cf399ca2cff3ac9da594b6"
            ],
            "date": "2019-05-30T10:37:06.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "12623de489c6af59d5cf399ca2cff3ac9da594b6",
            "message": "wip",
            "parentIds": [
              "3c1bf261136cd4f7705edb84e9d74f25c9a6b29a"
            ],
            "date": "2019-05-29T17:14:23.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "3c1bf261136cd4f7705edb84e9d74f25c9a6b29a",
            "message": "wip",
            "parentIds": [
              "6b1cd9bc7f6aa0b7485ad2b0e197e0defe49b743"
            ],
            "date": "2019-05-29T16:42:13.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "6b1cd9bc7f6aa0b7485ad2b0e197e0defe49b743",
            "message": "wip",
            "parentIds": [
              "3d9b7ac037296563d8348a95dc483560dc4e1e87"
            ],
            "date": "2019-05-29T16:17:56.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "S*** S***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          },
          {
            "id": "4c9988f2f0e240b8c746ae3bc96cc2f8ce411abf",
            "message": "Infoboxen",
            "parentIds": [
              "dac80fbf07b8f79bcada662c854e4c1e3a57c24c"
            ],
            "date": "2019-05-29T15:58:21.000Z",
            "author": {
              "email": "***@republik.ch",
              "name": "A*** B***",
              "__typename": "Author"
            },
            "__typename": "Commit"
          }
        ],
        "__typename": "CommitConnection"
      },
      "milestones": [
        {
          "name": "startProduction",
          "message": " ",
          "immutable": false,
          "commit": {
            "id": "cfccc141bc5f488e6462346870b66d603af614c0",
            "__typename": "Commit"
          },
          "author": {
            "email": "***@republik.ch",
            "name": "K*** M***",
            "__typename": "Author"
          },
          "__typename": "Milestone"
        }
      ],
      "__typename": "Repo"
    }
  }
}

teaser: prefill from article doesn't always work

Bug Report

When trying to prefill a teaser from an article (von Artikel übernehmen) the frontend crashes.

I tried to reproduce the error on staging, but wasn't able. The bug was discovered in production.

  • open the magazin front
  • create "Teaser Tile Row"
  • try to prefill the article: "Republik App"
  • crash

I tried to mimic the "Republik App" article (discussion without lead and authors) and reproduce the bug on Linux/Chromium, but wasn't able.

Actual Results

screenshot from 2018-10-08 17-44-18
screenshot from 2018-10-08 17-54-12

Expected Results

The teaser get's prefilled with the aricles content.

Environment

  • OS: OSX
  • Browser: Safari 11

Prevent Wrapping Some Hyphenated Words

Bug Report

E.g. CO2-Ausstoss, CO2-Steuern and Y-Generation should not wrap.

Steps to Reproduce

Markdown Source:

CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Ausstoss CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern CO<sub>2</sub>-Steuern

Actual Results

screenshot 2019-03-04 at 17 28 37

Expected Results

screenshot 2019-03-04 at 17 36 24

No Easy Solutions

Non-Breaking-Hyphen (U+2011) does not help:

screenshot 2019-03-04 at 17 37 43

Because of the <sub> element around two it still wraps.

Also currently U+2011 is not supported in our PDFs:
screenshot 2019-03-04 at 17 38 29

Possible Solutions

  • nowrap spans (similar to a what we'd need for thin space numbers)

Darkmode: Block quote wrong in preview

Bug Report

Block quote compontent in preview is renderd w/ wrong font color when dark mode is toggled on.

(Once published, in production, block quote is rendered as expected.)

Actual Results

Bildschirmfoto 2021-08-27 um 14 05 35

Expected Results

Bildschirmfoto 2021-08-27 um 14 04 23

Italic formatting within one word generates visible underscores

Bug Report

Formatting a part of one word in italic doesn't work. This works for bold.

Steps to Reproduce

  • Mark the first syllable of one word in italic, e.g. italic­word.
  • Things look as expected at first glance.
  • Commit
  • Italic text appears with underscores, e.g. . _italic_word

Actual Results

screenshot 2018-11-28 at 16 02 35

Expected Results
Italic formatting within one word should be preserved, just like bold.

Note that using &shy; as a workaround is currently no option because of PDF issues.

Wrong Autofill for Article Collection: Undesired Color and Wrong Font

Bug Report

bei der Artikelsammlung übernimmt es die Ameisenfarbe (ausser beim Autor) von hand kann ich es nicht ändern, könnt ir das mal anschauen?

ist es möglich, dass Ameisen in der Artikelvorschau nicht als Ameisen angezeigt werden (also mit der korrekten Titelschrift)?

Steps to Reproduce

screen shot 2018-11-16 at 10 25 44

  • Artikelsammlung machen
  • Vom Artikel übernehmen
  • Ameise auswählen

Version mit roter Frabe im Publikator

Actual Results

Rote Schrift. Editorial Font.

Expected Results

Schwarze Schrift. Scribble Font.

Prominent button to jump to newest version

Enhancement

This enhancement should help regular users of Publikator to reduce chances of branching off unintentionally.

Observation leads to the conclusion that "branching-off" usually happens if multiple users are in Editor – but not editing –, and then editor A is committing a new version whilst editor B later continues with a then deprecated but still loaded version and commits.

It appears that the notice about a newer version is not clearly visible and teaching editors to "reload" tree before editing did not fall onto fertile ground.

Hence this enhancement suggestions: Sidebar shows a prominent button, linked to newest version in Workflow tab.

Current Sidebare Notice about newer version
Bildschirmfoto 2019-03-14 um 12 07 57

Suggestion 1
Bildschirmfoto 2019-03-14 um 12 10 35

A prominent button in Workflow tab.

Suggestions 2
Bildschirmfoto 2019-03-14 um 12 24 44

A prominent button about sidebar tabs. There may be also an explanation about changes applied may cause a branch due to a newer commit available.

It is an enhancement that appears to be easy to implement.

This issue is render obsolete as soon as branches can be merged with ease.

Unwanted header break-out

Bug Report

Creating a document, switching to source code and returning to edit view will render heading (title, lead, credits) in an break-out we use for series overviews.

Bildschirmaufnahme.2021-08-27.um.15.51.47.mov

It won't occure once commited.

Steps to Reproduce

  1. Create new document
  2. Switch to source code
  3. Hit submit and thus return to edit view

Actual Results

Bildschirmfoto 2021-08-27 um 15 56 53

Expected Results

Bildschirmfoto 2021-08-27 um 15 56 37

(Unless, of course, it is a series overview page.)

module/document cleanup

  • Remove hard-coded newsletter restrictions from global document module
  • Externalize hard-coded default document structure
  • Formulate a pluggable process to to enforce and normalize meta data

subject in article meta not updated after first edit of meta section

Bug Report

subject in article meta not updated after first edit of meta section.

Steps to Reproduce

  • Create an article with a subject and commit
  • On the front, autopopulate a tile from that article and observe that subject is correct
  • Edit the same article's meta section and commit
  • Edit the same article's meta subject and commit
  • Check the saved article markdown, or on the front, autopopulate a tile from the same article and observe that subject is NOT updated.

Actual Results
Old subject Ein neues Subject in article meta.
screenshot 2018-11-29 at 17 39 33

Expected Results
Updated subject Ein neues Subject EDIT in article meta.

Links in Figure Byline

Bug Report

Links in Figure Byline do not work / get stripped out when done via Publikator.

Steps to Reproduce

See my commits in republik/article-ein-120-000-jahre-rekord
(ended up fixing it manually via GH)

  • the attempt via Publikator just produced the link text
  • opening the manual fix strips it (image at the end with a world map of temperatures)

Possible Solutions

  • check recursive rule parsing and formatting in Publikator
  • add explicit sub rules to the byline for links

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.

Client apollo error upon initial commit

Error: Can't find field repo({"id":"orbiting-test/newsletter-asdfasdf"}) on object (ROOT_QUERY) {
  "me": {
    "type": "id",
    "id": "User:b7c8ba37-645b-44b7-b1df-2ee2b780cba8",
    "generated": false
  },
  "repos({\"first\":100})": [
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-test-newsletter",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-foobarista",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-crowd",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-neuankommlinge",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-tav",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-neutrum",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-alice",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-foobar",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-asdfa",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-nl6",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-test-bilder-finanzierung",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-embed-pt-2",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-neutrum-2",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-hallo-welt",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-protokoll-redaktion-themen",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-nadja-test",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-embed-with-graph",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-daniels-test",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-gossage-vernissage",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-embeds-v2",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-mein-erstes-neutrum",
      "generated": false
    },
    {
      "type": "id",
      "id": "Repo:orbiting-test/newsletter-die-neuen-teil-2-test",
      "generated": false
    }
  ],
  "repo({\"id\":\"orbiting-test/newsletter-asdlfkajsdf\"})": {
    "type": "id",
    "id": "Repo:orbiting-test/newsletter-asdlfkajsdf",
    "generated": false
  }
}.
    at Je (app.js:23)
    at i (app.js:7)
    at app.js:7
    at Array.forEach (<anonymous>)
    at o (app.js:7)
    at r (app.js:7)
    at le (app.js:23)
    at se (app.js:23)
    at e.readQuery (app.js:23)
    at update (edit:48)
me @ app.js:23
ye @ app.js:23
(anonymous) @ app.js:23
(anonymous) @ app.js:2
a @ app.js:2
(anonymous) @ app.js:23
(anonymous) @ app.js:23
(anonymous) @ app.js:23
Promise resolved (async)
(anonymous) @ app.js:23
e.mutate @ app.js:23
e.mutate @ app.js:23
s.dataForChildViaMutation @ app.js:2
commitMutation @ edit:48
value @ edit:48
s @ app.js:15
invokeGuardedCallback @ app.js:23
invokeGuardedCallbackAndCatchFirstError @ app.js:23
h @ app.js:15
v @ app.js:15
b @ app.js:15
y @ app.js:15
x @ app.js:15
zr @ app.js:23
Ce @ app.js:15
batchedUpdates @ app.js:15
X @ app.js:15
je @ app.js:15

Screen Size Preview and Publish Preview Consistency

Bug Report

Currently the Screen Size Editor Preview and the Publish Preview Views render differently.

Steps to Reproduce

Open any article and check mobile size under "Ansicht". Next Go to the Publish Preview.

Actual Results

Screen Shot 2021-03-31 at 20 56 14

Screen Shot 2021-03-31 at 20 56 31

Expected Results
They should be the same.

Front teasers without date

For the record:
Fehlende Normalisierung: Datumszeile weg nach dem Committen wenn Sie leer war.

Need to fill in more background here.

Invisble soft hyphen, no-break-space in links

Bug Report

While visible in text, if text becomes a link, soft hyphens or no-break-spaces become invisible (but are preserved).

Example

Soft hyphens and no-break-spaces are indicated in blueish color:

Bildschirmfoto 2021-03-18 um 11 29 28

Source code editor shows preserved soft hyphens (no-break-spaces are not render in source editor):

Bildschirmfoto 2021-03-18 um 11 30 53

Expected Results

Soft hyphens and no-break-spaces are visible, similar to text.

Bold/italic in blockquote is lost

Bug Report

Steps to Reproduce

  1. Create a blockquote and make one word bold (or italic)
  2. The word turns bold (serif)

Screenshot 2019-07-03 at 15 48 08

3. Commit

Actual Results
Bold is lost.
Screenshot 2019-07-03 at 15 47 53

Expected Results
Word remains bold in sans-serif.

Source code view drops publishDate query param

Bug Report

Steps to Reproduce

  1. Open calender view
  2. Click "create" («Erstellen») on a placeholder entity
  3. Click "edit source code" («Quellcode bearbeiten»)
  4. Click "apply" («Übernehmen»)
  5. Click "commit"

Actual Results

Repository is created as intended, however publish date is not set.

Expected Results

Repository is created and publish date is set.

Possible Solutions

Query param publishDate is dropped while switch to source code view.

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.