box / box-annotations Goto Github PK
View Code? Open in Web Editor NEWJavaScript library for annotations on files rendered with Box Content Preview
Home Page: https://app.box.com
License: Other
JavaScript library for annotations on files rendered with Box Content Preview
Home Page: https://app.box.com
License: Other
Hi i am using box ui element to open content picker for folder , but it seems the css is not getting pulled from the nodemodules and thus the i am not getting the desired view
`import React from 'react';
import { ContentPicker } from 'box-ui-elements';
import messages from 'box-ui-elements/i18n/en-US';
import 'box-ui-elements/dist/picker.css';
import App from "./App";
const FolderSelectionView = ({ }) => (
<ContentPicker
token='Bz665dgmKkStuTzJpBdZJSfpxPL2RSSK'
language='en-us'
type='folder'
maxSelectable={1}
messages={messages}
/>
);
export default FolderSelectionView;`
Environment:
Desktop:
Steps to reproduce the problem:
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
The new annotation modal comes up with a cursor in the text box. When done typing, clicking on "Post" submits the annotation and dismisses the annotation modal.
What went wrong? (Screenshots can be helpful here)
The modal comes up to create an annotation, but there doesn't appear to be a cursor in the text box. However, when I start typing, the text appears in the text box as I would expect. Clicking on the "Post" button dismisses the OS keyboard and pins the modal to the bottom of the screen, but does not appear to post the annotation. Subsequent clicks of the "Post" button do nothing and the annotation never posts.
On Chrome on the same iOS version we are able to post annotations, but only after clicking on the "Post" button multiple times.
Environment:
Desktop:
Steps to reproduce the problem:
Link to application or sample code:
codepen
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
What CodePen looks like (without annotations CSS):
What went wrong? (Screenshots can be helpful here)
What WebApp looks like (with annotations modal CSS):
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
The comment associated with the highlight would be visible when hovering over the highlighted text.
What went wrong? (Screenshots can be helpful here)
The user who cannot annotate, but can view annotations, needs to click on the highlight in order to see the associated comment.
The scopes that are being sent for read-only annotations are: base_preview
and annotation_view_all
Please fill out the following template so we can reproduce and fix your issue as quickly as possible!
Environment:
Steps to reproduce the problem:
What is the expected behavior? (Screenshots can be helpful here)
Text should highlight
What went wrong? (Screenshots can be helpful here)
Text did not highlight.
🚨 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 it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, 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 App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
When I run test/index.html file, the box file content show correctly but there is no annotations or annotations control visible.
Describe the solution you'd like
The Moji Team wants to upgrade all react apps to version 6 so that the latest features can be utilized and we can improve the quality of translations. box-annotations is one of the applications that is still on version 2.
If you need more info please contact #moji.
Environment:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Steps to reproduce the problem:
This was originally found on an iPad using annotation but can be reproduced on Chrome using the Developer Tools Device Toolbar (Ctrl + Shift + M) and selecting Laptop with touch. Note, do not use a mouse scroll wheel or a trackpad's 2 finger scrolling. You must use the mouse with button to simulate a touchscreen in the correct developer tools mode.
What is the expected behavior? (Screenshots can be helpful here)
Expected behavior is for scrolling using touchscreen to continue working.
What went wrong? (Screenshots, console logs, or HAR files can be helpful here)
Scrolling using touchscreen stopped working after performing a Draw annotation.
Additional context
There were no errors displayed in the console. Here is a HAR of the annotate action:
box_annotate_touchscreen.zip
🚨 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 it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, 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 App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.