Polaris is a react library provided by Shopify to keep the third party app User Interfaces consistent with the admin theme in Shopify shops.
Questions tagged [polaris]
98 questions
1
vote
0 answers
shopify polaris hamburger menu
I've been looking through shopify polaris and I noticed that in the list of icons shopify provided, there isn't the hamburger menu (unless I missed it).
However, when I look at the frame component, I can see that they use the hamburger menu in their…

jim
- 1,026
- 2
- 15
- 37
1
vote
2 answers
polaris shopify import css issue
when I try to import styles.css from App.js like this
import React from 'react';
import {render} from 'react-dom';
import * as PropTypes from 'prop-types';
import {AppProvider, Page, Card, Button} from '@shopify/polaris';
import…

t q
- 4,593
- 8
- 56
- 91
1
vote
3 answers
ReactJS Call a function in render after an action
I'm using ReactJS, and shopify's polaris in order to create a website. I'm very new to react so this might be a newbie question but I looked over the internet and couldn't manage to put the pieces together.
I have a dropdown list and basically…

tee
- 1,286
- 2
- 19
- 35
1
vote
0 answers
ERROR in multi ../node_modules/webpack-dev-server/client?http://localhost:8080 ./app/index.js
Im trying to run webpack-dev-server but getting the below error:
ERROR in multi ../node_modules/webpack-dev-server/client?http://localhost:8080 ./app/index.js
Module not found: Error: Can't resolve './app/index.js' in…

Dinesh Ps
- 15
- 6
1
vote
0 answers
How to get RDFS basic vocabulary axioms included in a SPARQL query?
I am using Brightstardb as a triplestore and "Polaris management tool for Brightstardb" for import RDF and run queries.
I imported this RDF to the triplestore:
@prefix rdf: .
@prefix rdfs:…

Ignotus
- 564
- 5
- 17
0
votes
1 answer
Build Ci/CD on github error: postcss-calc:: Lexical error on line 1: Unrecognized text
I have failed to deploy my source code to the web using GitHub's CI/CD. My product still runs well on a MacBook or Windows machine with the same versions of Node, npm, and yarn, but it encounters an error on GitHub. Here are the workflow details of…

tututu42
- 1
0
votes
0 answers
Polaris Synopsis (Coverity on Polaris)
I am very new to this tool. Just wondering if it has API for creating the user or retrieve all users. I read the documentation but not really sure about the response since it has no sample responses from the REST API.
Please refer to this link for…
0
votes
1 answer
Updating shopify's polaris npm package doesn't show any change on shopify's react app template
I have used official instructions to install and run Shopify's official ruby template for apps with a reactjs and polaris front-end:
https://github.com/Shopify/shopify-app-template-ruby
This shipped polaris v10.50.1, and I tried upgrading it to v12…

Colin Brogan
- 728
- 10
- 26
0
votes
0 answers
Automatic discount code application during checkout in shopify store
I am developing a shopify widget to generate discount coupon codes. I want them to be automatically applied when a user generates it, and goes to checkout his cart.
I found out that discount codes can be passed into the URL to be applied…

theta28
- 73
- 2
- 9
0
votes
1 answer
How to reset the selection in Shopify Polaris IndexTable
How do I reset the selection in Shopify Polaris IndexTable with a function? https://polaris.shopify.com/components/tables/index-table
import {
IndexTable,
LegacyCard,
useIndexResourceState,
Text,
Button,
} from '@shopify/polaris';
import…

Smlok
- 598
- 6
- 19
0
votes
1 answer
Shopify Polaris: Select component doesn't update selected option when options are dynamic
The Select component of Polaris works well when the options are defined on load, as you can see in the documentation.
However if the options are created dynamically, eg. fetched from an external source, the selected option's label is not updated…

Hung Tran
- 790
- 2
- 8
- 24
0
votes
0 answers
Can't make polaris colorpicker with textfield
https://prnt.sc/0wK_hvH4BHsY
https://prnt.sc/82tPSS4uqZv8
Is it possible to make this type of textfield + colorpicker with polaris react?
I tried so many ways but couldn't make it.
when user clicks on black box it will show color picker.
And on…

Moshiur Rahman
- 1,534
- 12
- 26
0
votes
0 answers
shopify checkbox bot working with angular js
i am trying to get my checkbox checked when json data for this is true and uncheck when false
works fine with radio but not working with checkbox
its shopify polaris library and angular js for handling data
Not working

sumnkothari
- 25
- 5
0
votes
0 answers
I want to implement django-polaris deposit and withdrawal integration
I'm building an anchor with django-polaris on the stellar network using the readthedocs tutorial.
I'm stuck at the Enable Hosted deposit and withdrawals.
Here is the code for the deposit integration;
from decimal import Decimal
from django import…
0
votes
1 answer
Rolling Product function in Python Polars
I am looking for rolling_product similar to rolling_sum in polars. Rolling_apply sum is slow compared to rolling_sum.
If it’s not possible, need help to create rolling_prod function. Unable to locate rolling_sum in GIT. Could someone share the…