plugin-samples's People
Forkers
yagiyagi momoyama-org chikako12 will-yama hokowa3 hon-soumu yachtman22678 konomae masaya-chikamoto ea54595 ikatsuki seedscompany daichitoma3 yanbingms north-river ryokdy asami-mimaki ueda06 dtduc91 ushiront asaga fengweijp naoshiro takeitakuji takahirotai kenjinomoto toshi-toma sy250 nguyenquynh1994 k-nagasawa satokabuto theredspoon shinya-chigita akihiroiryo tsuyoshioshima kyodennaoyuki kazuki-furukawa mo-3 dunglv dinh-van-tran yashahime k-niihara imukat27 mfujinoki kintone-us-developer hokimcuc0202 mewtloskiz miyass hiroyukisekiyama yokotaso dong0 phongnhat19 comturedeveloper sby77 hosoyuta hanmine ryozy kai815 fuyumi-m ryoon sinkate yy1981 tsudon ultrakanji 990706tjgu trung-doan fujihiroaki kinoko8225 naoto00 josh-vo j-kume risamotokawa yusukekozen k-yoneoka sirogani akihiro0710 doublebiz akika konyukako megumi-kawano t-saba alink17 asukatax keiq ku607a talkativeshavel s-erinafujita manackw n-arai jyaronto-asnet msag0410shigeto masatonaut dazew kazu-crypto rakium kmakoto0212 kumami08 kako-junichi tkmry prime-x-co-ltdplugin-samples's Issues
[要望]Sansanプラグイン
スマホ対応
[Vote Plug-in] Don't copy users who liked the record when duplicating
・現象
レコード再利用時にいいね!数といいね!している人が「引き継がれる」
・改修案
レコード再利用時にいいね!数といいね!している人が「引き継がれない」
[Sansan] Change to "return event"
Please don't want other plugins to work, so please fix it. "return event"
Is "return" unnecessary?
[Vote Plug-in] Modern style UI request for Plug-in settings
The Plug-in settings page does not use the modern style CSS.
The Plug-in settings page would be more in sync with the rest of the kintone system if it uses the modern style CSS.
[Vote Plug-in] Localization needed
Vote Plug-in: https://github.com/kintone/plugin-sdk/tree/master/examples/vote
[ganttchart] Update the modal so that Sub-titles can be seen even if the Title is too long
ガントチャートプラグインで表示した際に、日付のチップをクリックするとモーダルウィンドウで日付を変更する画面が表示されますが、大項目名が長いと中項目が表示されず、何について変更をしているのか判別しづらくなっています。
暫定的な対応として、h3配下に埋め込んでいる、data.name と data.desc の間に <br />
を挿入して、
下記の画面のようにしていただけますか。
該当コード行: https://github.com/kintone-samples/plugin-samples/blob/master/examples/ganttchart/js/desktop-ganttchart.js#L171
本来、分離するつもりであれば data.desc を h3 タグの中から取り出し、
div や h4 等に付け替える必要はあると感じていますが、
css の修正まで手掛けるよりは手間もかからず必要な効果が出るため上記提案に留めております。
差し支えなければ修正して PullRequest を送りますがいかがでしょうか。
[要望]Sansanプラグイン
人IDと会社IDでも検索可能にする。
Zendeskプラグインの設定画面崩れ
新デザインにて発生
[textConnect] Localization needed
Here are files I noticed need an English-language translation:
- settings.html, all over [plugin settings page]
- confirm() text in desktop.js on line 168 [message box]
- checkValues() in config.js on line 119 [error handling]
I don't think I missed anything but another pair of eyes is always welcome.
[conditionformat2] Plug-in stops working if Date is null
If a Date field is placed in the Text Format conditions settings, and the date inside a record has no value, the plug-in stops coloring in any cells that come after that field.
Bug Replication
- Create an App with a Date field and a Text field
- Set the Conditional Format plug-in, with the below settings
Text Format Condition
Field with condition | Condition | Value | Field to Format | Font Color | Background Color | Font Size | Style |
---|---|---|---|---|---|---|---|
Date | = | 2018-09-14 | Date | #2500FF | #FF0000 | Normal | Normal |
Text | = | test | Text | #2500FF | #FF0000 | Normal | Normal |
Save the settings and update the App.
-
Add a record into the App.
Place no value inside the Date field.
Place the value test into the Text field -
After saving, view the Record Details page or the Record List page.
What should happen
Date field is not styled (as the condition does not match).
Text field is styled with blue text and red background.
What actually happens
Date field is not styled.
Text field is also not styled.
An error appears in the console:
"Uncaught TypeError: Cannot read property 'match' of null"
Thoughts
There is an if statement in desktop.js that compares the "field" variable, but this field variable will have no properties if it is null. Probably needs to check if the value is null first before going into this statement.
[Vote Plug-in] Wrong field code names stops the plug-in from working
Currently, the Vote Plug-in will give errors if the field code of the Created Datetime is not set to the string "作成日時". For better UX, the user should be able to have the field code of the Created Datetime to whatever they want.
Vote Plug-in: https://github.com/kintone/plugin-sdk/tree/master/examples/vote
[Vote Plug-in] Error message about the record number may be misleading
レコード番号フィールドを表示しているレコード一覧画面でも「レコード番号フィールドが見つかりません。いいねプラグインを使うためには、フォーム編集画面でレコード番号フィールドを配置する必要があります。」が表示されているようです。一覧画面における動作条件はメッセージの表示通りの条件だけでしょうか?
少し調べさせて頂くと、/k/v1/formのAPIのレスポンスからRECORD_NUMBERが消えた?ように思われます。ドキュメントによればRECORD_NUMBERは対応中のようですが、他のビルトインフィールドも同様でしたので、原因としてはこの辺かなぁと思いました(ドメイン等を変えたりして試しましたが同様でした)。
[conditionformat2] Possible fix for Safari incompatibility with color picker
Hi there @masaya-chikamoto @MaedaAs @north-river:
As the English documentation on Kintone Dev Network says, "The color picker is only available in Firefox and Chrome. It may not work on other browsers."
However, Safari 11 (released Sept 18, 2017) reports support for <input type="color">
(the 'color picker'). See https://caniuse.com/#feat=input-color
When I tested Conditional Format 2 plugin in the latest version of Safari (11.0.1) I was unable to generate a color picker window on click of the paintbrush.
I reviewed config.js lines 450-487 and I understand that clicking on the paintbrush <i>
element runs a jQuery function that clicks on a hidden <input type="color">
element.
When I comment out display: none
in the stylesheet for .cf-plugin-column5-color
and .cf-plugin-column6-color
classes that are responsible for hiding that element, a tiny square appears to the right of the paintbrush. Clicking on the paintbrush now generates the color picker. The color picker pops up from out of the tiny square.
It makes sense that the input element is hidden in Chrome and Firefox--it's UGLY. But hiding it in Safari breaks the color picker.
I researched to find a good way to check if the user is browsing with Safari and to get the browser version number.
I'm thinking that in line 243, right before the setTextDefault
function definition, we can add:
function isSafariAtLeastVersion11() {
let isSafari = Boolean(navigator.vendor) && navigator.vendor.indexOf('Apple') > -1 &&
Boolean(navigator.userAgent) && !navigator.userAgent.match('CriOS');
let nAgt = navigator.userAgent;
let fullVersion = "" + parseFloat(navigator.appVersion);
let majorVersion = parseInt(navigator.appVersion, 10);
let verOffset;
if (nAgt.indexOf("Safari") !== -1 && nAgt.indexOf("Chrome") === -1) {
verOffset = nAgt.indexOf("Safari");
fullVersion = nAgt.substring(verOffset + 7);
if (nAgt.indexOf("Version") !== -1) {
verOffset = nAgt.indexOf("Version");
fullVersion = nAgt.substring(verOffset + 8);
}
}
majorVersion = parseInt("" + fullVersion, 10);
return isSafari && majorVersion >= 11;
}
(I tested the following code in a codepen on a variety of different OSes and browsers to make sure it was getting the expected outcome.)
Then we can change the instances of the two classes .cf-plugin-column5-color
and .cf-plugin-column6-color
to variables whose value is an empty string when isSafariAtLeastVersion11()
is true.
.cf-plugin-column5-color
is referenced on lines 270, 309, 465.
.cf-plugin-column6-color
is referenced on lines 273, 276, 313, 315, 475.
Thoughts?
momentオブジェクトの取扱について
Moment.js、Moment Timezoneを用いたJavaScriptカスタマイズを適用していたアプリでconditionformat2を設定したところ、moment.tz is not a function
のエラーが出て、カスタマイズで利用していたMoment Timezoneが効かなくなりました。
事象としては、JSカスタマイズからプラグインの順でJSファイルが読み込まれるため、tzがないmomentオブジェクトがプラグイン側でwindowに付加された状態でmoment.tzをコールしているためだと考えられます。
- カスタマイズでmoment.jsが読み込まれ、momentオブジェクトがwindowに付加される
- カスタマイズでmoment-timezone.jsが読み込まれ、momentオブジェクトにtzが付加される
- プラグインでmoment.jsが読み込まれ、momentオブジェクトがwindowに再付加される
- カスタマイズでmoment.tzを利用している部分が実行されたタイミングで、
moment.tz is not a function
になる
プラグインやカスタマイズ間の、window(グローバル)でのオブジェクト汚染の一種として捉えることが出来るかと思いますが、現状の回避作はWebpackによるパッケージング等を除けば moment.js 利用時には moment-timezone.js もセットでロードしておくことになるかと思います。manifest.json並びに公式Zipファイルの更新をご検討頂けますと幸いです。
本件、プラグインを一旦無効化すると復帰したことを確認しています。
[textConnect] Create option to suppress dialog box
@will-yama Let's modify the plugin settings page to add the following checkbox at the top:
"Prompt if one or more combined fields has no value"
If checked, show the existing message, "At least one of the fields that will be combined has no value. Do you still wish to connect them?" Otherwise, do not show that message.
Default setting should be checked.
colorful-report
ハイライトする行に含める文字で、次のような現象があります。
ハイライトする行に含める文字:「★」 にするとおかしな現象があります。
- ハイライトされる(★の前に全角スペース、★の後は空白)
★ - ハイライトされない(★の前に全角スペース、★の後は文字列)
★文字あり
[js-edit] Feature request: Support for editing CSS for mobile
JSEdit for kintoneでライブラリー利用するとエラーになる
大変便利なプラグインを提供して頂きありがとうございます。
不具合を見つけましたので報告します。
JSEdit for kintone で jQuery を利用するライブラリ(例えば DataTablesなど)を利用した場合、jQueryより先に DataTablesが読み込まれてしまう為にエラーになります。
[Request]colorful-report
週報のタイトル用フィールドの必須を外してほしい。
個別カスタマイズで「ドロップダウン+日付」用に文字列一行をタイトルで活用しています。
その場合、このプラグインで別途文字列一行フィールドを設けないといけないので、不要なフィールドができてしまいます。
[Mandrill] Cannot validate SPF, DKIM and Domain
Currently, more set ups are needed for using Mandrill.
The SPF and DKIM settings and the sending domain cannot be validated.
[vote] Setting page cannot be opened after certain operations
(1) Set and save fields in the settings page.
(2) Delete the fields set in (1).
(3) When the setting page is opened, the spinner keeps spinning forever and cannot be re-set.
[conditionformat2]Correspond to time
I request to enhance to correspond not only to the condition of the date but also to the condition of the date and time.
Because there are many jobs to manage by the hour.
Ex. deadline, system fixed time check, delivery arrangements, production status..
It is even better if there is a condition when comparing the current time and the input time.
(From a user comment on developer network JP https://developer.cybozu.io/hc/ja/articles/115001664186/comments/360000242983)
boxプラグインの設定画面崩れ
新デザインの設定画面にて発生
拠点案内プラグインの企業ID欄の不具合
プラグインの設定画面で、「詳細画面のマップの高さ」欄を変更して、保存すると…
「企業ID」欄が変更されてしまうようです。
再現方法
1.詳細画面のマップの高さに「400px」と入力し保存する。
2.再度、プラグインの設定画面を開くと、企業ID欄に「400px」と表示される。
[textConnect] Multiple-character delimiters need decoding
When using a delimiter with multiple characters such as ", " or " ", the space character is converted to " "
There may be other characters that are not properly HTML decoded but I have not tested.
[conditionformat2] Other plug-ins break if this plug-in is loaded after them
If other plugins depend on moment.tz() and load before the conditional formatting plugin, then this plugin's moment object overwrites the others. The other plugins (e.g. calendar plugin) break.
Workaround: reimport conditional formatting plugin so that it loads after the other plugins. There's no place where we are currently holding that information.
Possible fix: update this plugin's moment dependencies to a more recent version
条件書式V2 日付について
お世話になっております。
初心者です。
https://developer.cybozu.io/hc/ja/articles/208236353-%E6%96%B0%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E7%89%88-%E6%9D%A1%E4%BB%B6%E6%9B%B8%E5%BC%8F%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3
を使用しております。
「提出期限」と日付型のレコードがあります。
これで①この日の5日前なら「背景:黄色」
②この日の3日前なら「背景:黄色、文字:赤」
③この日を過ぎたら「文字:赤」
ぜひご教授お願い致します。
[ganttchart] Dates in the Gantt chart fail to be shown if the first record's date field is not set
一覧表示した際に先頭のレコードの日付欄が空値だと、
jquery.gantt がカレンダーの生成に失敗し日付欄のヘッダが NaN や undefined となる。
原因等の調査結果はこちらに記載しております。
https://developer.cybozu.io/hc/ja/articles/203716110/comments/900001456206
[Vote Plug-in] Vote plug-in gives errors on Record List view in Guest spaces
条件書式V2 一覧編集の不具合
フィールド一覧から編集ボタンを押す→編集を終了すると、色がデフォルトのままになってしまいます。
更新したり、ソートしなおすと直りますが、少し気になります。フィールド一覧から編集ボタンを押す→編集を終了すると、色がデフォルトのままになります。
[ganttchart] Make the Title of the Gantt Chart a link to the record details page
[JSEdit for kintone] Confirm create new file
If coding and clicked submit button without create new file,
please confirm to named and create new file.
文字結合プラグイン ログインユーザーの対応
ログインしているユーザー名も結合できるようにしてほしい
[textConnect] missing empty value handling
When combining three fields with the Text Connect plugin (first_name, middle_name, last_name) and joining with a " " character:
If the value for middle_name is left empty, the resulting value is "first_name last_name" (two spaces).
There is an extra join character here. Join character logic needs to be fixed to handle one or more consecutive empty values.
Suggestion: pass the final string through a filter that replaces all substrings of >1 join characters with a single join character. Return this filtered string as the new value.
[kyotenn] Map display bug
[Vote Plug-in] Localization needed
The Plug-in settings page and the errors in the Plug-in are all in Japanese.
To have a better UX for a global audience, localization settings need to be set in this plug-in.
Vote Plug-in: https://github.com/kintone/plugin-sdk/tree/master/examples/vote
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.