Skip to content

Conversation

@giriss
Copy link

@giriss giriss commented Aug 18, 2017

No description provided.

<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>40.0</apiVersion>
<packageVersions>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove packageVersions tag from meta.xmls

<script>document.write(generateUrlInput(0))</script>
</div>
<div class="margined-top slds-form-element">
<button type="button" onclick="uploadAll()" class="margined-top slds-button slds-button_brand">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try using slds padding/margin classes https://www.lightningdesignsystem.com/utilities/padding/

<minorNumber>7</minorNumber>
<namespace>sf_com_apps</namespace>
</packageVersions>
<packageVersions>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove meta package (sharinpix + tfa)

public static Boolean uploadByUrls(String albumId, String url, String filename) {
sharinpix.Utils utils = new sharinpix.Utils();
utils.uploadFromUrl(url, albumId, filename);
return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return true always ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add status messages or return void

'" class="slds-input" placeholder="Filename" /></div></div><div class="slds-p-horizontal_small'+
' slds-size_1-of-1 slds-medium-size_1-of-1 slds-large-size_8-of-12"><div class="slds-form-element_'+
'_control"><input type="text" id="input-url-' + (index) + '" class="slds-input" placeholder='+
'"URL" /></div></div></div></div>'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use concatenation and indentation in string

</div>
<script>
var isEmpty = function(string) {
return string === '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if null or undefined or ''

}
}
</script>
<apex:slds />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to move to top

@@ -1,8 +1,15 @@
# Upload to SharinPix using URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README modified - added backticks and markdown syntax instead of html tags

useful link - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

sharinpix.Utils utils = new sharinpix.Utils();
utils.uploadFromUrl(url, albumId, filename);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces

src/package.xml Outdated
<name>ApexPage</name>
</types>
<types>
<members>SharinPixImageFromUrlsDemo</members>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suffix: Controller / Ctrl

<div class="slds-notify_container slds-is-relative">
<div class="slds-notify slds-notify_toast slds-theme_success" role="alert">
<div class="slds-notify__content">
<h2 class="slds-text-heading_small ">Your images was send for upload.</h2>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

were sent

@kevanmoothien kevanmoothien removed their request for review August 2, 2021 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants